@combeenation/custom-code-sdk
    Preparing search index...

    Class Text

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • id: string

      Returns Text

    Properties

    id: string

    Methods

    • See CustomControl.onRendered for detailed information on what you can do with this listener and what it is not meant for.

      Also see OnRenderedCallback for important information regarding the element which is passed to the callback.

      Parameters

      Returns CallbackUnsubscribeOption

    • Set arbitrary properties of the text control.
      Behavior is the same as when setting the respective property in the configurator editor.

      Some properties are not allowed to be set here because they have a dedicated method which should be used instead.
      E.g. setting visible is not allowed because TextV1.setVisible should be used instead.

      Type Parameters

      • T extends
            | "text"
            | "width"
            | "height"
            | "minWidth"
            | "minHeight"
            | "maxWidth"
            | "maxHeight"
            | "margin"
            | "padding"
            | "cssClasses"
            | "font"
            | "color"
            | "tooltipText"
            | "tooltipPos"
            | "htmlTag"
            | "wrapText"
            | "selfAlignmentBlock"

      Parameters

      • propertyName: T
      • value: SetTextPropertyValue[T]

      Returns void

    • Parameters

      • text: string

      Returns void

    • Parameters

      • visible: boolean

      Returns Promise<void>