@empathyco/x-components
Version:
Empathy X Components
31 lines (24 loc) • 1.26 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseIdTogglePanelButton](./x-components.baseidtogglepanelbutton.md)
## BaseIdTogglePanelButton variable
Component containing an event button that emits [XEventsTypes.UserClickedPanelToggleButton](./x-components.xeventstypes.userclickedpaneltogglebutton.md) when clicked with the panelId as payload.
It has a default slot to customize its contents.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
panelId: {
type: StringConstructor;
required: true;
};
}>, {
isPanelOpen: import("vue").Ref<boolean, boolean>;
events: import("vue").ComputedRef<Partial<XEventsTypes>>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
panelId: {
type: StringConstructor;
required: true;
};
}>> & Readonly<{}>, {}, {}, {
BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```