Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Undo
    • SetAttributeNSUndo

Index

Constructors

constructor

  • new SetAttributeNSUndo(treeUpdater: TreeUpdater, node: Element, ns: string, attribute: string, oldValue: string | null, newValue: string | null): SetAttributeNSUndo

Properties

Protected _events

_events: Subject<UndoEvents> = new Subject()

Private attribute

attribute: string

desc

desc: string

events

events: Observable<UndoEvents> = this._events.asObservable()

Private newValue

newValue: string | null

Private nodePath

nodePath: string

Private ns

ns: string

Private oldValue

oldValue: string | null

Private treeUpdater

treeUpdater: TreeUpdater

The tree updater to use to perform undo or redo operations.

Methods

performRedo

  • performRedo(): void

performUndo

  • performUndo(): void

redo

  • redo(): void
  • Called when the operation must be redone.

    throws

    {Error} If an undo is attempted when an undo or redo is already in progress.

    Returns void

toString

  • toString(): string

undo

  • undo(): void
  • Called when the operation must be undone.

    throws

    {Error} If an undo is attempted when an undo or redo is already in progress.

    Returns void

Generated using TypeDoc