Docs for Release: 2.4.1
    Preparing search index...

    Variable ElementsConst

    Elements: {
        Button(
            props: {
                config?: Partial<ConfigDefinition>;
                onClick?: (path: string[], value: any) => void;
                text: string;
            },
        ): ConfigDefinition;
    } = ...

    Type declaration

    • Button: function
      • A button that can be used in the configuration panel. The button stores no value other than undefined, but triggers "update" events when clicked in the UI.

        Parameters

        • props: {
              config?: Partial<ConfigDefinition>;
              onClick?: (path: string[], value: any) => void;
              text: string;
          }

        Returns ConfigDefinition