How to use the elements-sk/upgradeProperty.upgradeProperty function in elements-sk

To help you get started, we’ve selected a few elements-sk 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 google / skia-buildbot / coverage / modules / coverage-page-sk / coverage-page-sk.js View on Github external
constructor() {
    super();
    upgradeProperty(this, 'job');
    upgradeProperty(this, 'commit');
    // Bits of state that get reflected to/from the URL query string.
    this._query = {
      job: '',
      commit: '',
    }
  }
github google / skia-buildbot / common-sk / modules / select-sk / select-sk.js View on Github external
connectedCallback() {
    upgradeProperty(this, 'selection');
    upgradeProperty(this, 'disabled');
    this.addEventListener('click', this._click);
    this._obs.observe(this, {
      childList: true,
    });
    this._bubbleUp();
  }
github google / skia-buildbot / push / modules / push-selection-sk / push-selection-sk.js View on Github external
connectedCallback() {
    upgradeProperty(this, 'choices');
    upgradeProperty(this, 'chosen');
    this._render();
    this._dialog = this.firstElementChild;
    dialogPolyfill.registerDialog(this._dialog);
  }
github google / skia-buildbot / common-sk / modules / multi-select-sk / multi-select-sk.js View on Github external
connectedCallback() {
    upgradeProperty(this, 'selection');
    upgradeProperty(this, 'disabled');
    this.addEventListener('click', this._click);
    this._obs.observe(this, {
      childList: true,
    });
    this._bubbleUp();
  }
github google / skia-buildbot / common-sk / modules / multi-select-sk / multi-select-sk.js View on Github external
connectedCallback() {
    upgradeProperty(this, 'selection');
    upgradeProperty(this, 'disabled');
    this.addEventListener('click', this._click);
    this._obs.observe(this, {
      childList: true,
    });
    this._bubbleUp();
  }
github google / skia-buildbot / push / modules / push-selection-sk / push-selection-sk.js View on Github external
connectedCallback() {
    upgradeProperty(this, 'choices');
    upgradeProperty(this, 'chosen');
    this._render();
    this._dialog = this.firstElementChild;
    dialogPolyfill.registerDialog(this._dialog);
  }
github google / skia-buildbot / infra-sk / modules / task-driver-sk / task-driver-sk.ts View on Github external
connectedCallback() {
    upgradeProperty(this, 'data');
    this.render();
  }
github google / skia-buildbot / leasing / modules / leasing-list-sk / leasing-list-sk.ts View on Github external
connectedCallback(): void {
    super.connectedCallback();
    upgradeProperty(this, 'filterByUser');
    this._render();
  }

elements-sk

A set of light-weight custom elements with a uniform style.

Apache-2.0
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis