@profiscience/knockout-contrib-bindings-click-ctrl
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

bindings.click.ctrl

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

This package is intended for consumption via the @profiscience/knockout-contrib metapackage

Built-in click binding, filtered for ctrl+click

NOTE: Consider MacOS (where meta+click is more intuitive) and mobile users (where there is no access to ctrl) when using this binding

Usage

Accepts a function with the same API as the built-in [click-binding][]

<div data-bind="click.ctrl: (event, data) => console.log(data)"></div>

Readme

Keywords

none

Package Sidebar

Install

npm i @profiscience/knockout-contrib-bindings-click-ctrl

Weekly Downloads

1

Version

2.0.2

License

WTFPL

Unpacked Size

9.9 kB

Total Files

12

Last publish

Collaborators

  • dorgeron
  • barsh