I'm currently working with ember-flatpickr and using the week select plugin. As I tested, you currently can use plugins with this library but I think it should be documented.
We could use the plugin the following way:
{{ember-flatpickr
plugins=plugins
}}
And having the controller like this:
import Controller from '@ember/controller';
import weekSelect from 'flatpickr/dist/plugins/weekSelect/weekSelect';
export default Controller.extend({
plugins: [new weekSelect()],
});
What do you think?
I'm currently working with ember-flatpickr and using the week select plugin. As I tested, you currently can use plugins with this library but I think it should be documented.
We could use the plugin the following way:
And having the controller like this:
What do you think?