for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
class BlockWysiwyg extends window.HTMLDivElement {
constructor (self) {
self = super(self)
self.$ = $(self)
self.resolveElements()
return self
}
resolveElements () {
this.$element = $('.element', this)
connectedCallback () {
console.log('module BlockWysiwyg connected', this)
console.log
window.customElements.define('flynt-block-wysiwyg', BlockWysiwyg, {extends: 'div'})