waibu-bootstrap
Version:
Bootstrap suport for Waibu Framework
15 lines (12 loc) • 365 B
JavaScript
const cls = 'table'
async function tbody () {
return class Tbody extends this.baseFactory {
constructor (options) {
super(options)
this.selector = `.${cls} tbody`
this.component.normalizeAttr(this.params)
if (this.params.attr.divider) this.params.attr.class.push('table-group-divider')
}
}
}
export default tbody