mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-10-22 11:05:45 +02:00
IMPR: set element accesable ui attribute
This commit is contained in:
parent
5e23b21cac
commit
af30a8ec33
@ -4,6 +4,7 @@ import Datepicker from 'vanillajs-datepicker/Datepicker';
|
||||
const init = () => {
|
||||
document.querySelectorAll('.js-calendar').forEach((el, i) => {
|
||||
const picker = new Datepicker(el);
|
||||
el.ui = picker;
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user