Created
June 17, 2019 02:22
-
-
Save RuiGuilherme/07dad29d31c6ab22b0b4dad4d16c9d58 to your computer and use it in GitHub Desktop.
Configuração PT-BR timePicker materialize-css (JQuery)
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
//Para outras configurações: https://materializecss.com/pickers.html | |
$(document).ready(function () { | |
$('.timepicker').timepicker({ | |
i18n: { | |
clear: 'Limpar', | |
cancel: 'Sair', | |
done: 'Confirmar' | |
}, | |
defaultTime: 'now', | |
twelveHour: false, //Coloque "true" para relógio em 12 horas (AM/PM) | |
autoclose: false, | |
showClearBtn: true, | |
container: 'body', | |
vibrate: true | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment