Skip to main content
All docs
V25.1
  • NusaCustomContainerType Interface

    A RichEdit container that declares methods to get and set a focused RichEdit control.

    Declaration

    export interface NusaCustomContainerType

    Methods

    getFocussedElement(containerElement) Method

    Returns the focused RichEdit control in the specified container.

    Declaration

    getFocussedElement(
        containerElement: HTMLElement
    ): HTMLElement

    Parameters

    Name Type Description
    containerElement HTMLElement

    An HTML element that is rendered for the RichEdit control container.

    Returns

    Type Description
    HTMLElement

    An HTML element that is rendered for the RichEdit control.

    setFocussedElement(element) Method

    Sets focus to the specified RichEdit control.

    Declaration

    setFocussedElement(
        element: HTMLElement
    ): void

    Parameters

    Name Type Description
    element HTMLElement

    An HTML element that is rendered for the RichEdit control.