Ux selectize component, get HTML
loadSelectItemView(templateUrl) { | |
return this.viewEngine.loadViewFactory(templateUrl); | |
} | |
getHtml(item, factory) { | |
const childContainer = this.container.createChild(); | |
const view = factory.create(childContainer); | |
view.bind(item); | |
let country = DOM.createElement("div"); | |
view.appendNodesTo(country); | |
return country.outerHTML; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment