mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Added 'optgroups' option property in 'selectize'.
This commit is contained in:
7
selectize/selectize.d.ts
vendored
7
selectize/selectize.d.ts
vendored
@@ -183,6 +183,13 @@ declare module Selectize {
|
||||
*/
|
||||
valueField?: string;
|
||||
|
||||
/**
|
||||
* Option groups that options will be bucketed into.
|
||||
* If your element is a <select> with <optgroup>s this property gets populated automatically.
|
||||
* Make sure each object in the array has a property named whatever "optgroupValueField" is set to.
|
||||
*/
|
||||
optgroups?: U[];
|
||||
|
||||
/**
|
||||
* The name of the option group property that serves as its unique identifier.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user