UNPKG

waibu-bootstrap

Version:

Bootstrap suport for Waibu Framework

13 lines (11 loc) 373 B
async function a () { return class A extends this.baseFactory { constructor (options) { super(options) this.component.normalizeAttr(this.params, { tag: 'a' }) if (!this.params.attr.href) this.params.attr.href = '#' if (this.params.html.includes('<i class="')) this.params.attr.class.push('icon-link') } } } export default a