How to use the hyperhtml-element.base function in hyperhtml-element

To help you get started, we’ve selected a few hyperhtml-element examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cfware / babel-plugin-template-html-minifier / fixtures / import-hyperhtml-star-source.js View on Github external
import * as elements from 'hyperhtml-element';

export class ele extends elements.base {
	render() {
		this.html`<div>test</div>`;
		this.nothtml`<div>test</div>`;
	}
}
github cfware / babel-plugin-template-html-minifier / fixtures / require-member-class-of-star-export.js View on Github external
const elements = require('hyperhtml-element');

class ele extends elements.base {
	render() {
		this.html`<div>test</div>`;
		this.nothtml`<div>test</div>`;
	}
}

module.export = ele;
github cfware / babel-plugin-template-html-minifier / fixtures / import-member-class-of-star-export.js View on Github external
import * as elements from 'hyperhtml-element';

export class ele extends elements.base {
	render() {
		this.html`<div>test</div>`;
		this.nothtml`<div>test</div>`;
	}
}
github cfware / babel-plugin-template-html-minifier / fixtures / require-hyperhtml-star-source.js View on Github external
const elements = require('hyperhtml-element');

class ele extends elements.base {
	render() {
		this.html`<div>test</div>`;
		this.nothtml`<div>test</div>`;
	}
}

module.export = ele;

hyperhtml-element

An extensible class to define hyperHTML based Custom Elements

ISC
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular hyperhtml-element functions