knockout-contrib

:metal: KnockoutJS Goodies Monorepo

View the Project on GitHub Profiscience/knockout-contrib

bindings.jquery

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

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.