Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReplaceAttrsStep<S>

Type parameters

  • S: Schema

Hierarchy

  • Step<S>
    • ReplaceAttrsStep

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

at

at: number

attrs

attrs: any

Methods

apply

  • apply(doc: Node): StepResult<any>

getMap

  • getMap(): StepMap
  • Returns StepMap

invert

map

merge

  • merge(other: Step): Step | null

toJSON

  • toJSON(): object

Static fromJSON

Static jsonID

  • jsonID(id: string, stepClass: object): void
  • Parameters

    • id: string
    • stepClass: object
      • constructor: function
        • new __type(args: any[]): Step
        • Parameters

          • Rest args: any[]

          Returns Step

    Returns void

Generated using TypeDoc