dees-catalog/ts_web/elements/dees-input-multitoggle.demo.ts

14 lines
438 B
TypeScript
Raw Normal View History

2024-01-10 04:11:55 +00:00
import { html } from '@design.estate/dees-element';
export const demoFunc = () => html`
<dees-input-multitoggle
2024-01-11 20:14:30 +00:00
.options=${['option 1', 'option 2', 'a longer option with multiple words']}
2024-01-10 04:11:55 +00:00
.selectedOption=${'option 2'}
></dees-input-multitoggle>
2024-01-15 11:57:49 +00:00
<dees-input-multitoggle
.type=${'boolean'}
.booleanTrueName=${'enabled'}
.booleanFalseName=${'disabled'}
.selectedOption=${'true'}
></dees-input-multitoggle>
2024-01-10 04:11:55 +00:00
`;