Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPropertyFieldDropDownTreeViewHostProps

interface

PropertyFieldDropDownTreeViewHost properties interface

Hierarchy

Index

Properties

Optional allowFoldersSelections

allowFoldersSelections: boolean

Optional allowMultipleSelections

allowMultipleSelections: boolean

Optional checkboxEnabled

checkboxEnabled: boolean

Optional context

context: any

Instance specific context. This context is passed back to the web part in the onRender and onDispose APIs. The web part can use this context to manage state information.

Optional deferredValidationTime

deferredValidationTime: number

Optional disabled

disabled: boolean

key

key: string

An UNIQUE key indicates the identity of this contorl.

The PropertyPane uses ReactJS to render its components. ReactJS uses keys to identify a component and if it should be re-rendered or not. This is a performance feature in ReactJS. Please read the following link to understand how to pick the value of the key.

see

https://facebook.github.io/react/docs/lists-and-keys.html#keys

label

label: string

Optional nodesPaddingLeft

nodesPaddingLeft: number

Optional onGetErrorMessage

onGetErrorMessage: function

Type declaration

    • (value: string[]): string | Promise<string>
    • Parameters

      • value: string[]

      Returns string | Promise<string>

properties

properties: any

Optional selectedNodesIDs

selectedNodesIDs: string[]

targetProperty

targetProperty: string

tree

Methods

onDispose

  • onDispose(elem: HTMLElement): void

onPropertyChange

  • onPropertyChange(propertyPath: string, oldValue: any, newValue: any): void

onRender

  • onRender(elem: HTMLElement): void

Generated using TypeDoc