@types/selectize
Advanced tools
Comparing version 0.12.29 to 0.12.30
@@ -1,2 +0,2 @@ | ||
// Type definitions for Selectize 0.12.13 | ||
// Type definitions for Selectize 0.12.14 | ||
// Project: https://github.com/brianreavis/selectize.js | ||
@@ -152,7 +152,7 @@ // Definitions by: Adi Dahiya <https://github.com/adidahiya>, Natalie Bausch <https://github.com/naBausch> | ||
/** | ||
* An array of plugins to use | ||
* Plugins to use | ||
* | ||
* Default: null | ||
*/ | ||
plugins?: string[]; | ||
plugins?: string[] | IPluginOption[] | { [name: string]: any }; | ||
@@ -373,3 +373,12 @@ // Data / Searching | ||
interface IApi<T, U> { | ||
/** | ||
* An array of selected values. | ||
*/ | ||
items: T[]; | ||
/** | ||
* An object containing the entire pool of options. The object is keyed by each object's value. | ||
*/ | ||
options: { [value: string]: U }; | ||
// Dropdown Options | ||
@@ -403,3 +412,3 @@ // ------------------------------------------------------------------------------------------------------------ | ||
*/ | ||
getOption(value: T): any; | ||
getOption(value: T): JQuery; | ||
@@ -549,4 +558,4 @@ /** | ||
*/ | ||
setValue(value: T): void; | ||
setValue(value: T[]): void; | ||
setValue(value: T, silent?: boolean): void; | ||
setValue(value: T[], silent?: boolean): void; | ||
@@ -610,2 +619,8 @@ /** | ||
} | ||
// see https://github.com/selectize/selectize.js/blob/master/docs/plugins.md | ||
interface IPluginOption { | ||
name: string; | ||
options: any; | ||
} | ||
} | ||
@@ -612,0 +627,0 @@ |
{ | ||
"name": "@types/selectize", | ||
"version": "0.12.29", | ||
"version": "0.12.30", | ||
"description": "TypeScript definitions for Selectize", | ||
@@ -24,4 +24,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "62feaee7ed57b2989c65c55cb8347e58cb96654768b845014b832fad4bc93cb5", | ||
"typesPublisherContentHash": "0a9900969f79774a1d6d2d45b1d562b5e24d88d91faa203289a06d30489be88d", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 15 Jun 2017 20:15:09 GMT | ||
* Last updated: Fri, 30 Jun 2017 21:28:46 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22292
520