You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@profiscience/knockout-contrib-bindings-alt-click

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@profiscience/knockout-contrib-bindings-alt-click

KnockoutJS Alt+Click Binding

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

@profiscience/knockout-contrib-bindings-alt-click

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

Built-in click binding, filtered for alt+click

NOTE: Consider mobile users (where there is no access to alt) when using this binding

Usage

// register as "altClick"
import '@profiscience/knockout-contrib-bindings-alt-click'

// register as custom name
import * as ko from 'knockout'
import { altClickBindingHandler } from '@profiscience/knockout-contrib-bindings-alt-click'
ko.bindingHandlers['click.alt'] = altClickBindingHandler
<div data-bind="altClick: (event, data) => console.log(data)"></div>

Keywords

knockout

FAQs

Package last updated on 13 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts