i18n.previous
Since: DateTime 1.0.0
String to use in the previous button.
Please note - this property requires the DateTime extension for DataTables.
Description
This value is used in the previous button to move between months in DateTime.
Type
string
The string that is used in the previous button.
Default
- Value:
'Previous'
As default 'Previous'
is the text used within the previous button.
Example
Change the value for i18n.previous
:
$(document).ready(function () {
new DateTime(document.getElementById('test'), {
i18n: {
previous: '<'
}
});
});