import { type ElementViewTemplate, html } from '@microsoft/fast-element';
import { staticallyCompose } from '../utils/template-helpers.js';
import type { Switch, SwitchOptions } from './switch.js';
export function switchTemplate(options: SwitchOptions = {}): ElementViewTemplate {
return html`
x.clickHandler(c.event as MouseEvent)}"
@input="${(x, c) => x.inputHandler(c.event as InputEvent)}"
@keydown="${(x, c) => x.keydownHandler(c.event as KeyboardEvent)}"
@keyup="${(x, c) => x.keyupHandler(c.event as KeyboardEvent)}"
>
${staticallyCompose(options.switch)}
`;
}
export const template: ElementViewTemplate = switchTemplate({
switch: ``,
});