waibu-bootstrap
Version:
Bootstrap suport for Waibu Framework
18 lines (14 loc) • 385 B
JavaScript
import { handler } from './card-header.js'
const cls = 'card-footer'
async function cardFooter () {
return class CardFooter extends this.app.baseClass.MpaWidget {
constructor (options) {
super(options)
this.selector = '.' + cls
}
build = async () => {
await handler.call(this, cls, this.params)
}
}
}
export default cardFooter