""
position | position | |
bgTheme | preset-theme | |
showChip | boolean |
<Chipper>
<div class="pad-2">some content</div>
<div slot="chipperChip" class="theme-bg-primary radius-small w-full h-full"></div>
</Chipper>
position | position | |
bgTheme | preset-theme | |
showChip | boolean |
<Chipper
content="<div class='pad'>Some props html content</div>"
color="red" />
__propDef: {
props: {
class?: string | undefined;
element?: HTMLDivElement | undefined;
style?: string | undefined;
/** position of the chipper */ position?: "left" | "right" | "top" | "bottom" | undefined;
bgTheme?: string | undefined;
/** css color code for the chip */ color?: string | undefined;
/** text or html is slot is not used */ content?: string | undefined;
/** show or hide the chip */ showChip?: boolean | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
chipperChip: {};
};
};