Skip to main content
cut

RichEditCommands.setFullscreen Property

Gets a command to toggle the fullscreen mode.

Declaration

readonly setFullscreen: SetFullscreenCommand

Property Value

Type Description
SetFullscreenCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

richEdit.commands.setFullscreen.execute(true);

According to browser requirements, if the RichEdit control is contained in a frame, the SetFullscreenMode method should be called in a user-generated event handler (a button click, a key press) for security reasons.

Refer to the following section for more information: Client Commands.

See Also