Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MASTERING KNOCKOUTJS

You're reading from   MASTERING KNOCKOUTJS Use and extend Knockout to deliver feature-rich, modern web applications

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781783981007
Length 270 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Timothy Moran Timothy Moran
Author Profile Icon Timothy Moran
Timothy Moran
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Knockout Essentials 2. Extending Knockout with Custom Binding Handlers FREE CHAPTER 3. Extending Knockout with Preprocessors and Providers 4. Application Development with Components and Modules 5. Durandal – the Knockout Framework 6. Advanced Durandal 7. Best Practices 8. Plugins and Other Knockout Libraries 9. Under the Hood Index

Knockout Bootstrap


Twitter Bootstrap has several beautiful jQuery-dependent widgets that can be used from JavaScript or in some cases, with their data-* attributes. If you are using Knockout, though, some work needs to be done in order to get it to work with observables and to initialize it from binding handlers. Knockout Bootstrap is a popular plugin that addresses this. Unfortunately, at the time of writing this, it hasn't been updated to work with Bootstrap 3 and therefore, some of its features do not work. When working with Knockout 3 and Bootstrap 3, the ToolTip, Popover, and Alerts bindings work correctly, but the Progress Bar and Typeahead bindings do not work.

Like Knockout Kendo, if you have used the Bootstrap widgets, the bindings in Knockout Bootstrap should be immediately familiar. The bindings are named after their widgets and take an object with the same properties the jQuery plugin initializers take. When sensible, the properties can be bound against:

//Tooltip
<p>This...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime