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