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

    Class Input

    Index

    Constructors

    • Parameters

      • id: string

      Returns Input

    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

    • Parameters

      • callback: (value: string) => void | Promise<void>

      Returns CallbackUnsubscribeOption

    • Set arbitrary properties of the input 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 InputV1.setVisible should be used instead.

      Type Parameters

      • T extends
            | "value"
            | "width"
            | "height"
            | "minWidth"
            | "minHeight"
            | "maxWidth"
            | "maxHeight"
            | "margin"
            | "padding"
            | "cssClasses"
            | "backgroundNormal"
            | "borderRadius"
            | "enabled"
            | "tooltipText"
            | "tooltipPos"
            | "captionPos"
            | "captionText"
            | "placeholder"
            | "errorMsg"
            | "description"
            | "captionWidth"

      Parameters

      • propertyName: T
      • value: SetInputPropertyValue[T]

      Returns void

    • Parameters

      • value: string

      Returns void

    • Parameters

      • visible: boolean

      Returns Promise<void>