@empathyco/x-components
Version:
Empathy X Components
59 lines (53 loc) • 1.93 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [MainModal](./x-components.mainmodal.md)
## MainModal variable
A specialised version of a modal component, made to contain a full search application.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
};
closeEvents: {
type: PropType<XEvent[]>;
default: () => string[];
};
focusOnOpen: {
type: BooleanConstructor;
default: boolean;
};
openEvents: {
type: PropType<XEvent[]>;
default: () => string[];
};
outOfModalClickEvent: {
type: PropType<keyof import("../../wiring/events.types").XEventsTypes>;
default: string;
};
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
animation: {
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
};
closeEvents: {
type: PropType<XEvent[]>;
default: () => string[];
};
focusOnOpen: {
type: BooleanConstructor;
default: boolean;
};
openEvents: {
type: PropType<XEvent[]>;
default: () => string[];
};
outOfModalClickEvent: {
type: PropType<keyof import("../../wiring/events.types").XEventsTypes>;
default: string;
};
}>>, {
closeEvents: (keyof import("../../wiring/events.types").XEventsTypes)[];
focusOnOpen: boolean;
openEvents: (keyof import("../../wiring/events.types").XEventsTypes)[];
outOfModalClickEvent: keyof import("../../wiring/events.types").XEventsTypes;
}, {}>
```