@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
77 lines (76 loc) • 2.88 kB
TypeScript
import { SynShowEvent, SynAfterShowEvent, SynHideEvent, SynAfterHideEvent, SynDetails } from '@synergy-design-system/components';
export type { SynShowEvent } from '@synergy-design-system/components';
export type { SynAfterShowEvent } from '@synergy-design-system/components';
export type { SynHideEvent } from '@synergy-design-system/components';
export type { SynAfterHideEvent } from '@synergy-design-system/components';
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
/**
* Indicates whether or not the details is open.
* You can toggle this attribute to show and hide the details, or you
can use the `show()` and `hide()` methods and this attribute will reflect the details' open state.
*/
open?: SynDetails["open"];
/**
* The summary to show in the header.
* If you need to display HTML, use the `summary` slot instead.
*/
summary?: SynDetails["summary"];
/**
* Disables the details so it can't be toggled.
*/
disabled?: SynDetails["disabled"];
/**
* Draws the details as contained element.
*/
contained?: SynDetails["contained"];
/**
* The details's size.
*/
size?: SynDetails["size"];
}, {
nativeElement: import('vue').Ref<SynDetails | undefined, SynDetails | undefined>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"syn-show": (e: SynShowEvent) => any;
"syn-after-show": (e: SynAfterShowEvent) => any;
"syn-hide": (e: SynHideEvent) => any;
"syn-after-hide": (e: SynAfterHideEvent) => any;
}, string, import('vue').PublicProps, Readonly<{
/**
* Indicates whether or not the details is open.
* You can toggle this attribute to show and hide the details, or you
can use the `show()` and `hide()` methods and this attribute will reflect the details' open state.
*/
open?: SynDetails["open"];
/**
* The summary to show in the header.
* If you need to display HTML, use the `summary` slot instead.
*/
summary?: SynDetails["summary"];
/**
* Disables the details so it can't be toggled.
*/
disabled?: SynDetails["disabled"];
/**
* Draws the details as contained element.
*/
contained?: SynDetails["contained"];
/**
* The details's size.
*/
size?: SynDetails["size"];
}> & Readonly<{
"onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
"onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
"onSyn-hide"?: ((e: SynHideEvent) => any) | undefined;
"onSyn-after-hide"?: ((e: SynAfterHideEvent) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
nativeElement: unknown;
}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};