SurfaceBulma.Table (surface_bulma v0.1.0)
The inevitable HTML table.
You can create a table by setting a souce data to it and defining
columns using the Table.Column component.
Properties
- data :list, required: true - The data that populates the table.
- expanded :boolean, default: true - The table is expanded (full-width).
- bordered :boolean, default: false - Add borders to all the cells.
- striped :boolean, default: false - Add stripes to the table.
- class :css_class - The CSS class for the wrapping
<div>element. - rowClass :fun - A function that returns a class for the item's underlying
<tr>element. The function receives the item and index related to the row. .
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1.
Callback implementation for Phoenix.LiveComponent.render/1.
Callback implementation for Phoenix.LiveComponent.update/2.
Link to this section Functions
Link to this function
mount(socket)
Callback implementation for Phoenix.LiveComponent.mount/1.
Link to this function
render(assigns)
Callback implementation for Phoenix.LiveComponent.render/1.
Link to this function
update(assigns, socket)
Callback implementation for Phoenix.LiveComponent.update/2.