27 lines
719 B
TypeScript
27 lines
719 B
TypeScript
import { html } from '@design.estate/dees-element';
|
|
|
|
export const demoFunc = () => html`
|
|
<dees-input-dropdown
|
|
.options=${[
|
|
{option: 'option 1', key: 'option1'},
|
|
{option: 'option 2', key: 'option2'},
|
|
{option: 'option 3', key: 'option3'}
|
|
]}
|
|
></dees-input-dropdown>
|
|
<dees-input-dropdown
|
|
.enableSearch=${false}
|
|
.options=${[
|
|
{option: 'option 1', key: 'option1'},
|
|
{option: 'option 2', key: 'option2'},
|
|
{option: 'option 3', key: 'option3'}
|
|
]}
|
|
></dees-input-dropdown>
|
|
<div style="height: 300px"></div>
|
|
<dees-input-dropdown
|
|
.options=${[
|
|
{option: 'option 1', key: 'option1'},
|
|
{option: 'option 2', key: 'option2'},
|
|
{option: 'option 3', key: 'option3'}
|
|
]}
|
|
></dees-input-dropdown>
|
|
` |