UNPKG

@empathyco/x-components

Version:
26 lines (20 loc) 991 B
<!-- 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<{ modalId: { type: StringConstructor; required: true; }; }, { closeModal: ({ target }: Event) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ modalId: { type: StringConstructor; required: true; }; }>>, {}, {}> ```