<ui-table>

Styled wrapper for a native table.

Display · stable · since 2.0.0 · extends _UIElement

Examples

<ui-table striped><table><tr><th>A</th><th>B</th></tr><tr><td>1</td><td>2</td></tr></table></ui-table>
<ui-table bordered><table><tr><td>x</td></tr></table></ui-table>

Playground

Generated HTML

Event log

    API

    Attributes and properties

    PropertyAttributeTypeDefaultDescription
    disableddisabledbooleanfalse
    busydata-ui-busybooleanfalse
    stripedstripedbooleanfalseZebra rows.
    borderedborderedbooleanfalseCell borders.
    sizesizestring"md"sm, md or lg.

    Methods

    None.

    Events

    None.

    Slots

    CSS classes