UNPKG

@empathyco/x-components

Version:
26 lines (20 loc) 1.1 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseIdModalClose](./x-components.baseidmodalclose.md) ## BaseIdModalClose variable Component that allows to close a modal by emitting [XEventsTypes.UserClickedCloseModal](./x-components.xeventstypes.userclickedclosemodal.md)<!-- -->. It allows full customization with the 'closing-element' slot and exposes the 'closeModal' function. **Signature:** ```typescript _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ modalId: { type: StringConstructor; required: true; }; }>, { closeModal: ({ target }: Event) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ modalId: { type: StringConstructor; required: true; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> ```