Back to Website
Show / Hide Table of Contents

Class InsertTextCmd

The command to insert plain text relative to the current cursor position.

Package: @aurigma/design-atoms-text
Remarks

if there is selected text, it will be deleted.

Constructors

(constructor)(_textManager, _initData)

Constructs a new instance of the InsertTextCmd class

Declaration
constructor(_textManager: ITextManager, _initData: InsertTextCmdData);
Parameters
Type Name Description
ITextManager _textManager
InsertTextCmdData _initData

Properties

text

Declaration
get text(): string;
Property Value
Type Description
string

Methods

execute()

Declaration
execute(): boolean;
Returns
Type Description
boolean
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback