Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

YUI 3 Node plugin that turns a text input field into a tokenized input field similar to Cocoa's NSTokenField control.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 assets
Octocat-spinner-32 examples
Octocat-spinner-32 js
Octocat-spinner-32 tests
Octocat-spinner-32 README.md
Octocat-spinner-32 docs.sh
README.md

YUI 3 Node TokenInput Plugin

YUI 3 Node plugin that turns a text input field into a tokenized input field similar to Cocoa's NSTokenField control.

Basic Usage

<div class="yui3-skin-sam">
    <input type="text" id="tags">
</div>

<script src="http://yui.yahooapis.com/3.4.0/build/yui/yui-min.js"></script>
<script>
YUI({
    gallery: 'gallery-2011.08.24-23-44'
}).use('gallery-node-tokeninput', function (Y) {

    // Turn #tags into a tokeninput field.
    Y.one('#tags').plug(Y.Plugin.TokenInput);

});
</script>
Something went wrong with that request. Please try again.