An item within a List
.
HTMLDivElement props are included.
/** When true the item is disabled. The item is also disabled if the parent list is disabled. */
export let disabled = false;
/** The value uniquely identifying this item within the list. */
export let value: string;
/** Additional class names to apply. */
export let variant: string = '';
HTMLDivElement events are included.
HTMLDivElement blur
, click
, and focus
methods are included.
<div class="sterling-list-item">
<slot {disabled} {horizontal} {selected} {value} {variant}>{value}</slot>
</div>