...As with bootstrap’s own plugins, datepicker provides a data-api that can be used to instantiate datepickers without the need for custom javascript. You can disable datepicker’s data-api in the same way as you would disable other bootstrap plugins. Most options can be provided via data-attributes. An option can be converted to a data-attribute by taking its name, replacing each uppercase letter with its lowercase equivalent preceded by a dash, and prepending “data-date-” to the result. Methods are called on a datepicker by calling the datepicker function with a string first argument, followed by any arguments the method takes.