How to use the vue-tsx-support.modifiers.middle function in vue-tsx-support

To help you get started, we’ve selected a few vue-tsx-support 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 wonderful-panda / vue-tsx-support / test / tsc / basic / modifiers.tsx View on Github external
<div> console.log(e.keyCode))} /&gt;;

    // each modifiers can be specified only once
    <div>;    //// TS2339: 'prevent' does not exist
    <div>;    //// TS2339: 'left' does not exist
    <div>;    //// TS2339: 'left' does not exist
    <div>;    //// TS2339: 'enter' does not exist

    // key modifier can be specified only once
    <div>;    //// TS2339: 'esc' does not exist
    <div>;    //// TS2339: 'keys' does not exist
    <div>;    //// TS2339: 'enter' does not exist

    // mouse button modifier can be specified only once
    <div>;     //// TS2339: 'right' does not exist
    <div>;     //// TS2339: 'left' does not exist

    // key modifier and mouse button modifier can't be specified together
    <div>;     //// TS2339: 'middle' does not exist
    <div>;     //// TS2339: 'enter' does not exist

    // xxx and noxxx can't be specified together
    <div>;    //// TS2339: 'noctrl' does not exist
    <div>;    //// TS2339: 'ctrl' does not exist
    <div>;  //// TS2339: 'noshift' does not exist
    <div>;  //// TS2339: 'shift' does not exist
    <div>;      //// TS2339: 'noalt' does not exist
    <div>;      //// TS2339: 'alt' does not exist
    <div>;    //// TS2339: 'nometa' does not exist
    <div>;    //// TS2339: 'meta' does not exist
    // 'exact' and other modkey can't be specified together
    <div>;    //// TS2339: 'ctrl' does not exist</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
github wonderful-panda / vue-tsx-support / test / tsc / basic / modifiers.tsx View on Github external
<div>;    //// TS2339: 'left' does not exist
    <div>;    //// TS2339: 'left' does not exist
    <div>;    //// TS2339: 'enter' does not exist

    // key modifier can be specified only once
    <div>;    //// TS2339: 'esc' does not exist
    <div>;    //// TS2339: 'keys' does not exist
    <div>;    //// TS2339: 'enter' does not exist

    // mouse button modifier can be specified only once
    <div>;     //// TS2339: 'right' does not exist
    <div>;     //// TS2339: 'left' does not exist

    // key modifier and mouse button modifier can't be specified together
    <div>;     //// TS2339: 'middle' does not exist
    <div>;     //// TS2339: 'enter' does not exist

    // xxx and noxxx can't be specified together
    <div>;    //// TS2339: 'noctrl' does not exist
    <div>;    //// TS2339: 'ctrl' does not exist
    <div>;  //// TS2339: 'noshift' does not exist
    <div>;  //// TS2339: 'shift' does not exist
    <div>;      //// TS2339: 'noalt' does not exist
    <div>;      //// TS2339: 'alt' does not exist
    <div>;    //// TS2339: 'nometa' does not exist
    <div>;    //// TS2339: 'meta' does not exist
    // 'exact' and other modkey can't be specified together
    <div>;    //// TS2339: 'ctrl' does not exist
    <div>;    //// TS2339: 'exact' does not exist
    <div>;    //// TS2339: 'exact' does not exist
}
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>