Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IProps

Hierarchy

  • IProps

Index

Properties

Optional groupOnDots

groupOnDots: undefined | false | true

Whether to display properties as a tree (true) or flat (false).

If true, property names are grouped on dots ("."). So if two props have names "Appearance.Font" and "Appearance.Size", the resulting tree will be:

  • Appearance
    • Font
    • Size

Parent groups will be inferred from the observed properties. Do not use any property names that collide with the full name of a group- for example, "Appearance.Font.Family" should not be used with "Appearance.Font" (as "Font" will be both a property and a parent). However, "Appearance.Font" and "Appearance.FontDetails.Font" will not conflict, nor will "Appearance" and "Appearance.Appearance".

properties

properties: Array<[string, IPropertyMetadata]>

renderEditor

renderEditor: function

A callback to render the editor for a particular property.

This editor should be rendered in-line. For visual consistency, the editor should not cause the height of the row to change. It is rendered ~1em high, with a minimum height of ~21px.

Type declaration

Generated using TypeDoc