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
{{ message }}
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
I needed to provided the date picker with a custom localisation hash that only had a few keys
different from the default one. Having to provide all the localisation keys required me to hunt for
these default values in the repository.
Describe the solution you'd like
It'd be great if the Hash with the default keys was made accessible somehow (both when using a bundler or not).
I did manage to sort myself with the following import, but that'd only work when getting the package from NPM and using a bundler:
Describe alternatives you've considered
I did try to access the localization property on the element after creation:
constpicker=document.createElement('duet-date-picker');picker.localization// undefined :(// Some code that adds the picker to the pagerequestAnimationFrame(()=>{// For lack of a better way to check that the picker is hydratedconsole.log(picker.localization);// same});
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I needed to provided the date picker with a custom localisation hash that only had a few keys
different from the default one. Having to provide all the localisation keys required me to hunt for
these default values in the repository.
Describe the solution you'd like
It'd be great if the Hash with the default keys was made accessible somehow (both when using a bundler or not).
I did manage to sort myself with the following import, but that'd only work when getting the package from NPM and using a bundler:
Describe alternatives you've considered
I did try to access the
localization
property on the element after creation:The text was updated successfully, but these errors were encountered: