Update typescript definition for selectize to 0.12.13 (#11570) (#11681)

This commit is contained in:
Jan Nicklas
2016-10-03 22:15:59 +02:00
committed by Mohamed Hegazy
parent 50f20d7af5
commit 4ac138d35c

View File

@@ -1,6 +1,6 @@
// Type definitions for Selectize 0.11.2
// Type definitions for Selectize 0.12.13
// Project: https://github.com/brianreavis/selectize.js
// Definitions by: Adi Dahiya <https://github.com/adidahiya>
// Definitions by: Adi Dahiya <https://github.com/adidahiya>, Natalie Bausch <https://github.com/naBausch>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="jquery"/>
@@ -562,6 +562,11 @@ declare namespace Selectize {
* Clears the render cache. Takes an optional template argument (e.g. "option", "item") to clear only that cache.
*/
clearCache(template?: string): void;
/**
* When the `settings.placeholder` value is changed, the new placeholder will be displayed.
*/
updatePlaceholder(): void;
}
interface ISearchToken {