Skip to content

Commit

Permalink
Refactor #5967
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 2, 2024
1 parent 461652c commit 3e04e74
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/primevue/src/treeselect/TreeSelect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ export interface TreeSelectPassThroughAttributes {
* Defines current inline state in TreeSelect component.
*/
export interface TreeSelectState {
/**
* Current id state as a string.
* @defaultValue null
*/
id: string;
/**
* Current focused state as a boolean.
* @defaultValue false
Expand Down Expand Up @@ -172,6 +177,10 @@ export interface TreeSelectProps {
* An array of treenodes.
*/
options?: TreeNode[] | undefined;
/**
* A map of keys to represent the expansion state in controlled mode.
*/
expandedKeys?: TreeExpandedKeys;
/**
* Height of the viewport, a scrollbar is defined if height of list exceeds this value.
* @defaultValue 20rem
Expand Down Expand Up @@ -441,6 +450,11 @@ export interface TreeSelectEmitsOptions {
* @param {*} value - New value.
*/
'update:modelValue'(value: any): void;
/**
* Emitted when the expanded keys change.
* @param {TreeNode} value - New expanded keys.
*/
'update:expandedKeys'(value: TreeExpandedKeys): void;
/**
* Callback to invoke on value change.
* @param {*} value - Selected node keys
Expand Down

0 comments on commit 3e04e74

Please sign in to comment.