DocAttrStepUpdate an attribute in the doc node. class DocAttrStep extends Step {constructor(attr: string, value: any);readonly attr: string;readonly value: any; apply(doc: Node): StepResult;getMap(): StepMap;invert(doc: Node): DocAttrStep;map(mapping: Mappable): this;toJSON(): any; static fromJSON(schema: Schema, json: any): DocAttrStep;}§Extends§Step[src]§Constructors§new DocAttrStep(attr: string, value: any)[src]Construct an attribute step. §Properties§attr: string[src]The attribute to set. §value: any[src]§Methods§apply(doc: Node): StepResult[src]§getMap(): StepMap[src]§invert(doc: Node): DocAttrStep[src]§map(mapping: Mappable): this[src]§toJSON(): any[src]§Static Methods§fromJSON(schema: Schema, json: any): DocAttrStep[src]