@empathyco/x-components
Version:
Empathy X Components
49 lines (43 loc) • 1.75 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchInputPlaceholder](./x-components.searchinputplaceholder.md)
## SearchInputPlaceholder variable
. This component renders an animated placeholder for the search input in the shape of a list of iterating messages that can be configured to happen always or only when hovering the input
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
messages: {
type: PropType<string[]>;
required: true;
};
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: () => import("vue").DefineComponent;
};
animationIntervalMs: {
type: NumberConstructor;
default: number;
};
animateOnlyOnHover: BooleanConstructor;
}, {
isVisible: import("vue").ComputedRef<boolean>;
message: import("vue").ComputedRef<string | undefined>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
messages: {
type: PropType<string[]>;
required: true;
};
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
default: () => import("vue").DefineComponent;
};
animationIntervalMs: {
type: NumberConstructor;
default: number;
};
animateOnlyOnHover: BooleanConstructor;
}>>, {
animation: string | Function | Record<string, any>;
animationIntervalMs: number;
animateOnlyOnHover: boolean;
}, {}>
```