|
|
|
|
|
by pygy_
4055 days ago
|
|
http://mithril.js.org/integration.html shows how to integrate a Select2 field in a Mithril template (thus interoperaing with jQuery). You can use the same approach for other libraries: Add a function as `config` attribute to your virtual DOM element. That function gets the real DOM element as a parameter, and you can act on it with third party libraries. |
|