@profiscience/knockout-contrib-bindings-jquery
v2.0.2
Published
[![Version][npm-version-shield]][npm] [![Dependency Status][david-dm-shield]][david-dm] [![Peer Dependency Status][david-dm-peer-shield]][david-dm-peer] [![Dev Dependency Status][david-dm-dev-shield]][david-dm-dev] [![Downloads][npm-stats-shield]][npm-sta
Downloads
77
Readme
bindings.jquery
This package is intended for consumption via the @profiscience/knockout-contrib metapackage and has a peer dependency on jquery and knockout-punches
Invoke a jQuery plugin on an element
Usage
<div id="my-element" data-bind="$.somePlugin: pluginOpts"></div>
...is equivalent to calling $('#my-element').somePlugin(pluginOpts)
, without having to worry about when the element is rendered.