Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPropertyFieldFontPickerHostProps

interface

PropertyFieldFontPickerHost properties interface

Hierarchy

Index

Properties

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

Optional initialValue

initialValue: string

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 onGetErrorMessage

onGetErrorMessage: function

Type declaration

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

      • value: string

      Returns string | Promise<string>

Optional previewFonts

previewFonts: boolean

properties

properties: any

targetProperty

targetProperty: string

Optional useSafeFont

useSafeFont: boolean

Methods

onDispose

  • onDispose(elem: HTMLElement): void

onPropertyChange

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

onRender

  • onRender(elem: HTMLElement): void

Generated using TypeDoc