knockout-contrib

:metal: KnockoutJS Goodies Monorepo

View the Project on GitHub Profiscience/knockout-contrib

bindings.click.meta

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 meta+click

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

Usage

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

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