Back to Devexpress

NusaCustomContainerType Interface

aspnetcore-js-devexpress-dot-richedit-a7d9c3db.md

latest1.0 KB
Original Source

NusaCustomContainerType Interface

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

Declaration

ts
export interface NusaCustomContainerType

Methods

getFocussedElement(containerElement) Method

Returns the focused RichEdit control in the specified container.

Declaration

ts
getFocussedElement(
    containerElement: HTMLElement
): HTMLElement

Parameters

NameTypeDescription
containerElementHTMLElement

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

|

Returns

TypeDescription
HTMLElement

An HTML element that is rendered for the RichEdit control.

|

setFocussedElement(element) Method

Sets focus to the specified RichEdit control.

Declaration

ts
setFocussedElement(
    element: HTMLElement
): void

Parameters

NameTypeDescription
elementHTMLElement

An HTML element that is rendered for the RichEdit control.

|