fmmfonseca / bootstrap-tokenizer Goto Github PK
View Code? Open in Web Editor NEWA bootstrap JavaScript plugin (with semicolons) to provide a tokenizer input field.
Home Page: http://miguelfonseca.com/bootstrap-tokenizer/
License: Other
A bootstrap JavaScript plugin (with semicolons) to provide a tokenizer input field.
Home Page: http://miguelfonseca.com/bootstrap-tokenizer/
License: Other
if you notice i changed the .width() to .css()
did this is because .width()
gives the measurement in px not a % and .css()
does
here is a gist of what i curently use https://gist.github.com/bmatusiak/5648051/revisions
i also added
var self = this;
this.$formInput.change(function(){
self.parseFormInput();
});
and i also added to parseFormInput()
var item;
while((item = this.list.getPreceding(this.input))){
this.list.remove(item);
}
this give me the option to call $("input").change();
after i do $("input").attr('value','some,data');
also thankyou for this.
Hoping you can help - we use your tokenizer where I work, and I can't for the life of me figure out the purpose of this line - why .blur().focus()
? Could you provide some context? Thank you!
How do you clean the tokenizer field?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.