Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as elements from 'hyperhtml-element';
export class ele extends elements.base {
render() {
this.html`<div>test</div>`;
this.nothtml`<div>test</div>`;
}
}
const elements = require('hyperhtml-element');
class ele extends elements.base {
render() {
this.html`<div>test</div>`;
this.nothtml`<div>test</div>`;
}
}
module.export = ele;
import * as elements from 'hyperhtml-element';
export class ele extends elements.base {
render() {
this.html`<div>test</div>`;
this.nothtml`<div>test</div>`;
}
}
const elements = require('hyperhtml-element');
class ele extends elements.base {
render() {
this.html`<div>test</div>`;
this.nothtml`<div>test</div>`;
}
}
module.export = ele;
import {bind} from 'hyperhtml-element';
bind(document.body)`
<div>Testing</div>
`;
bind`
<div>Testing</div>
`;
import {bind} from 'hyperhtml-element';
bind(document.body)`<div>Testing</div>`;
bind`
<div>Testing</div>
`;