Created
February 18, 2018 06:19
-
-
Save kazuhisa/ad3f50faa7e7850d7890944a18d4513e to your computer and use it in GitHub Desktop.
turbolinksの発火
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener 'turbolinks:load', -> | |
$('.datepicker').flatpickr | |
locale: 'ja' | |
$('.datetimepicker').flatpickr | |
enableTime: true | |
time_24hr: true | |
locale: 'ja' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment