Files
catalog/ts_web/views/eco-view-peripherals/eco-view-peripherals.demo.ts

22 lines
596 B
TypeScript
Raw Normal View History

2026-01-06 10:17:05 +00:00
import { html } from '@design.estate/dees-element';
export const demo = () => html`
<style>
.demo-container {
width: 100%;
2026-01-12 10:57:54 +00:00
height: 100%;
2026-01-06 10:17:05 +00:00
background: hsl(240 10% 4%);
border-radius: 12px;
overflow: hidden;
}
</style>
<div class="demo-container">
2026-01-12 10:57:54 +00:00
<eco-view-peripherals
2026-01-06 10:17:05 +00:00
.activeCategory=${'all'}
@device-select=${(e: CustomEvent) => console.log('Device selected:', e.detail)}
@scan-start=${() => console.log('Scanning started')}
@scan-complete=${() => console.log('Scanning complete')}
2026-01-12 10:57:54 +00:00
></eco-view-peripherals>
2026-01-06 10:17:05 +00:00
</div>
`;