UNPKG

@empathyco/x-components

Version:
43 lines (37 loc) 1.47 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [Redirection](./x-components.redirection.md) ## Redirection variable A redirection is a component that sends the user to a link in the website. It is helpful when there are queries like `help`<!-- -->, `shipping costs`<!-- -->, `my account`<!-- -->, where a link to a section in the website will be more helpful than the set of results returned. **Signature:** ```typescript _default: import("vue").DefineComponent<{ mode: { type: PropType<"auto" | "manual">; default: string; }; delayInSeconds: { type: NumberConstructor; default: number; }; }, { redirection: import("vue").ComputedRef<RedirectionModel | null>; redirect: () => void; abortRedirect: () => void; isRedirecting: Ref<boolean>; slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ mode: { type: PropType<"auto" | "manual">; default: string; }; delayInSeconds: { type: NumberConstructor; default: number; }; }>>, { mode: "auto" | "manual"; delayInSeconds: number; }, {}> ```