A number input field in donejs using Bootstrap
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'donejs-input-number-new';
Use require
to load donejs-input-number-new
and everything else
needed to create a template that uses donejs-input-number-new
:
var plugin = require("donejs-input-number-new");
Load the global
version of the plugin:
<script src='./node_modules/donejs-input-number-new/dist/global/donejs-input-number-new.js'></script>