Getting started
An overview of Tokenize2, how to download and use.
An overview of Tokenize2, how to download and use.
Tokenize2 (currently v{%version%}) has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.
Compiled and minified CSS, JavaScript. No docs or original source files are included.
Source code of CSS and JavaScript files. All files are not compressed and can be edited.
You can also install and manage Tokenize2's CSS and JavaScript using npm:
Tokenize2 is downloadable in two forms, within which you'll find the following directories and files, logically grouping common resources and providing both compiled and minified variations.
Please note that Tokenize2 require jQuery to be included in your page.
Once downloaded, unzip the compressed folder to see the structure of (the compiled) Tokenize2. You'll see something like this:
The Tokenize2 source code download includes the precompiled CSS and JavaScript and some demo version. More specifically, it includes the following and more:
See in this section how to use Tokenize2 on your website.
To start, you have to include required jQuery and jQuery-UI librairies.
Tokenize2 was created for Bootstrap Framework, so it's highly recommended to include Bootstrap CSS file.
Next just include the Tokenize2 CSS and Javascript files.
Be sure that Tokenize2 CSS file is included after Bootstrap CSS file, because some Bootstrap classes are overrided by Tokenize2.
Finally add a <select>
form control to your code and call the plugin.
Please don't forget to add attribute multiple
to your <select>
control or Tokenize2 will not work properly.