Jan 30, 2016
Handle External Javascript Librairies With Websharper
When building web apps with WebSharper in F#, one of the most common question is: How do we integrate external JS library with WebSharper in F#?
It is indeed an interesting question since one of the good side of JS is the number of good libraries out there which will save you a lot of time and effort.
WebSharper provides directives to call external JS libraries within F#. Today I would like to explore how we can integrate a JS libraries into our WebSharper project with UI.Next.
I will demonstrate how you can extend WebSharper.JQuery to add a tag input functionality with autocompletion.
For the tag input and formatting we will use Bootstrap Tags Input library and to provide autocompletion, we will use Typeahead.js.