You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thnx for addon, I have a question, simple one I hope ;)
How to set default settings so that I do not have to repeat it over and over again in each template.
For example I would like "Today button" to be allways displayed and would like to avoid repeating that option {{bs-datetimepicker showTodayButton=true}}.
Thnx
The text was updated successfully, but these errors were encountered:
acerov
changed the title
global default settings
default setting
May 13, 2016
@acerov You can wrap {{bs-datetimepicker showTodayButton=true}} with your own component, lets say {{my-datepicker}} and pass properties from my-datepicker to bs-datetimepicker ex.
In {{my-picker}} template:
{{bs-datetimepicker showTodayButton=true}} // don't forget other properties that you normally call with `{{bs-datetimepicker}}`
and you each time you call {{my-picker}} it will run run {{bs-datetimepicker}} with showTodayButton=true
Hi,
Thnx for addon, I have a question, simple one I hope ;)
How to set default settings so that I do not have to repeat it over and over again in each template.
For example I would like "Today button" to be allways displayed and would like to avoid repeating that option
{{bs-datetimepicker showTodayButton=true}}
.Thnx
The text was updated successfully, but these errors were encountered: