How to use the hyperhtml/esm.hyper.bind function in hyperhtml

To help you get started, weโ€™ve selected a few hyperhtml 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 Granze / flip-clock-vanilla / src / flip-clock.js View on Github external
constructor() {
    super();
    this.time = '000000';
    this.timer = null;
    this.isRunning = false;
    this.html = hyper.bind(this.attachShadow({ mode: 'open' }));
    this.startCount = this.startCount.bind(this);
    this.stopCount = this.stopCount.bind(this);
    this.resetCount = this.resetCount.bind(this);
  }

hyperhtml

A Fast & Light Virtual DOM Alternative

ISC
Latest version published 2 years ago

Package Health Score

56 / 100
Full package analysis