How to use the webidl-conversions.double function in webidl-conversions

To help you get started, we’ve selected a few webidl-conversions 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 lintopher0315 / Quick-Math / node_modules / jsdom / lib / jsdom / living / generated / HTMLProgressElement.js View on Github external
set value(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'value' property on 'HTMLProgressElement': The provided value"
    });

    this[impl]["value"] = V;
  }
github sx1989827 / DOClever / node_modules / jsdom / lib / jsdom / living / generated / HTMLMediaElement.js View on Github external
set(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided value"
    });

    this[impl]["playbackRate"] = V;
  },
github gazooka / GhostInAzureWebApp / node_modules / jsdom / lib / jsdom / living / generated / HTMLMediaElement.js View on Github external
set currentTime(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided value"
    });

    this[impl]["currentTime"] = V;
  }
github sx1989827 / DOClever / Server / node_modules / jsdom / lib / jsdom / living / generated / HTMLMediaElement.js View on Github external
set(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'volume' property on 'HTMLMediaElement': The provided value"
    });

    this[impl]["volume"] = V;
  },
github sx1989827 / DOClever / Server / node_modules / jsdom / lib / jsdom / living / generated / HTMLMediaElement.js View on Github external
set(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'defaultPlaybackRate' property on 'HTMLMediaElement': The provided value"
    });

    this[impl]["defaultPlaybackRate"] = V;
  },
github sx1989827 / DOClever / node_modules / jsdom / lib / jsdom / living / generated / HTMLMeterElement.js View on Github external
set(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'min' property on 'HTMLMeterElement': The provided value"
    });

    this[impl]["min"] = V;
  },
github zubairghori / Ultimate_todo_list / node_modules / jsdom / lib / jsdom / living / generated / HTMLMeterElement.js View on Github external
set(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'low' property on 'HTMLMeterElement': The provided value"
    });

    this[impl]["low"] = V;
  },
github sx1989827 / DOClever / node_modules / jsdom / lib / jsdom / living / generated / HTMLMediaElement.js View on Github external
set(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided value"
    });

    this[impl]["currentTime"] = V;
  },
github sx1989827 / DOClever / node_modules / jsdom / lib / jsdom / living / generated / HTMLMeterElement.js View on Github external
set(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'high' property on 'HTMLMeterElement': The provided value"
    });

    this[impl]["high"] = V;
  },
github lintopher0315 / Quick-Math / node_modules / jsdom / lib / jsdom / living / generated / HTMLProgressElement.js View on Github external
set max(V) {
    if (!this || !module.exports.is(this)) {
      throw new TypeError("Illegal invocation");
    }

    V = conversions["double"](V, {
      context: "Failed to set the 'max' property on 'HTMLProgressElement': The provided value"
    });

    this[impl]["max"] = V;
  }

webidl-conversions

Implements the WebIDL algorithms for converting to and from JavaScript values

BSD-2-Clause
Latest version published 3 years ago

Package Health Score

68 / 100
Full package analysis