-
Notifications
You must be signed in to change notification settings - Fork 399
CSS Styling
Rati Wannapanop edited this page May 20, 2017
·
4 revisions
Note
The name inside the square bracket is optional. It may or may not appear depending on the relevant condition
{
tableClass: 'ui blue selectable celled stackable attached table',
loadingClass: 'loading',
ascendingIcon: 'blue chevron up icon',
descendingIcon: 'blue chevron down icon',
detailRowClass: 'vuetable-detail-row',
handleIcon: 'grey sidebar icon',
}
<table class="vuetable [css.tableClass]"></table>
<th id="_{{field.name}}" class="vuetable-th-{{field.name}} [sortable] [field.titleClass]"></th>
-
__sequence
<th class="vuetable-th-sequence [field.titleClass]"></th>
-
__checkbox
<th class="vuetable-th-checkbox-{{trackBy}} [field.titleClass]"></th>
-
__component
<th class="vuetable-th-component-{{trackBy}} [sortable] [field.titleClass]"></th>
-
__slot
<th class="vuetable-th-slot-{{field.name}} [sortable] [field.titleClass]"></th>
<td class="[field.dataClass]"></td>
-
__sequence
<td id="vuetable-sequence [field.dataClass]"></td>
-
__handle
<td id="vuetable-handle [field.dataClass]"></td>
-
__checkbox
<td id="vuetable-checkboxes [field.dataClass]"></td>
-
__component
<td id="vuetable-component [field.dataClass]"></td>
-
__slot
<td id="vuetable-slot [field.dataClass]"></td>
<td class="[css.detailRowClass]"></td>
{
wrapperClass: 'ui right floated pagination menu',
activeClass: 'active large',
disabledClass: 'disabled',
pageClass: 'item',
linkClass: 'icon item',
paginationClass: 'ui bottom attached segment grid',
paginationInfoClass: 'left floated left aligned six wide column',
dropdownClass: 'ui search dropdown',
icons: {
first: 'angle double left icon',
prev: 'left chevron icon',
next: 'right chevron icon',
last: 'angle double right icon',
}
}