i18n.今天
自:日期時間 1.1.0 起
「今天」按鈕的文字值。
請注意 - 此屬性需要 DataTables 的 DateTime 擴充套件。
描述
設定在 buttons.today
啟用時,今天按鈕中將顯示的字串。
預設
- 值:
今天
範例
設定「今天」按鈕文字
new DateTime(document.getElementById('test'), {
buttons: {
today: true
},
i18n: {
today: 'Jump to today'
}
});
相關
以下選項直接相關,在您的應用程式開發中可能也很有用。