PyBlade/ui
Menu⌄
DocsComposantsTable

Table

A responsive table and its parts.

7 fichiers

Installation

pyblade-ui add table

Utilisation

Les balises <pb-ui.table> <pb-ui.table-header> <pb-ui.table-body> <pb-ui.table-row> <pb-ui.table-head> <pb-ui.table-cell> <pb-ui.table-caption> sont disponibles dans tous vos templates.

<pb-ui.table>
  <pb-ui.table-header><pb-ui.table-row><pb-ui.table-head>Name</pb-ui.table-head></pb-ui.table-row></pb-ui.table-header>
  <pb-ui.table-body>
    @for(user in users)
    <pb-ui.table-row><pb-ui.table-cell>{{ user.name }}</pb-ui.table-cell></pb-ui.table-row>
    @endfor
  </pb-ui.table-body>
</pb-ui.table>