Appearance
useLandingSearch
Definition
Composable for landing page search.
Signature
ts
export function useLandingSearch(): {
search: (
navigationId: string,
options?: {
withCmsAssociations?: boolean;
}
) => Promise<LandingPage>;
}
Return type
ts
{
search: (
navigationId: string,
options?: {
withCmsAssociations?: boolean;
}
) => Promise<LandingPage>;
}
Methods
Name | Type | Description |
---|
Usage
ts
import { useLandingSearch } from "@shopware-pwa/composables-next";
const { search } = useLandingSearch();