mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Added searchPlaceholder to datatables.net (#17986)
This commit is contained in:
parent
d6e5104955
commit
ee5246d60a
@ -12,6 +12,7 @@ $(document).ready(function () {
|
||||
"loadingRecords": "Loading...",
|
||||
"processing": "Processing...",
|
||||
"search": "Search:",
|
||||
"searchPlaceholder": "Default text",
|
||||
"zeroRecords": "No matching records found",
|
||||
"paginate": {
|
||||
"first": "First",
|
||||
@ -413,6 +414,7 @@ $(document).ready(function () {
|
||||
var modifier: DataTables.ObjectSelectorModifier = {
|
||||
order: "current",
|
||||
search: "none",
|
||||
searchPlaceholder: "Default text",
|
||||
page: "all",
|
||||
};
|
||||
|
||||
|
||||
18
types/datatables.net/index.d.ts
vendored
18
types/datatables.net/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for JQuery DataTables 1.10.9
|
||||
// Project: http://www.datatables.net
|
||||
// Definitions by: Kiarash Ghiaseddin <https://github.com/Silver-Connection/DefinitelyTyped>, Omid Rad <https://github.com/omidkrad>, Armin Sander <https://github.com/pragmatrix/>
|
||||
// Definitions by: Kiarash Ghiaseddin <https://github.com/Silver-Connection/DefinitelyTyped>, Omid Rad <https://github.com/omidkrad>, Armin Sander <https://github.com/pragmatrix/>, Denise Mauldin <https://github.com/denisemauldin/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@ -145,6 +145,11 @@ declare namespace DataTables {
|
||||
*/
|
||||
search?: string;
|
||||
|
||||
/**
|
||||
* The searchPlaceholder modifier provides the ability to provide informational text for an input control when it has no value.
|
||||
*/
|
||||
searchPlaceholder?: string;
|
||||
|
||||
/**
|
||||
* The page modifier allows you to control if the selector should consider all data in the table, regardless of paging, or if only the rows in the currently disabled page should be used.
|
||||
* Values: 'all', 'current'
|
||||
@ -1318,6 +1323,11 @@ declare namespace DataTables {
|
||||
*/
|
||||
search?: SearchSettings;
|
||||
|
||||
/**
|
||||
* Set placeholder attribute for input type="text" tag elements. Since: 1.10
|
||||
*/
|
||||
searchPlaceholder?: SearchSettings;
|
||||
|
||||
/**
|
||||
* Define an initial search for individual columns. Since: 1.10
|
||||
*/
|
||||
@ -1642,6 +1652,11 @@ declare namespace DataTables {
|
||||
* Set an initial filtering condition on the table. Since: 1.10
|
||||
*/
|
||||
search?: string;
|
||||
|
||||
/**
|
||||
* Set a placeholder attribute for input type="text" tag elements. Since: 1.10.1
|
||||
*/
|
||||
searchPlaceholder?: string;
|
||||
}
|
||||
|
||||
//#endregion "other-settings"
|
||||
@ -1720,6 +1735,7 @@ declare namespace DataTables {
|
||||
loadingRecords?: string;
|
||||
processing?: string;
|
||||
search?: string;
|
||||
searchPlaceholder?: string;
|
||||
zeroRecords?: string;
|
||||
paginate?: LanguagePaginateSettings;
|
||||
aria?: LanguageAriaSettings;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user