Sha256: cff3063106d20e70a215199f16c97b4dd644c4073c18a292170faa41a646f320
Contents?: true
Size: 908 Bytes
Versions: 2
Compression:
Stored size: 908 Bytes
Contents
import { Blot, Leaf } from './abstract/blot'; import LeafBlot from './abstract/leaf'; import * as Registry from '../registry'; declare class TextBlot extends LeafBlot implements Leaf { static blotName: string; static scope: Registry.Scope; domNode: Text; protected text: string; static create(value: string): Text; static value(domNode: Text): string; constructor(node: Node); deleteAt(index: number, length: number): void; index(node: Node, offset: number): number; insertAt(index: number, value: string, def?: any): void; length(): number; optimize(context: { [key: string]: any; }): void; position(index: number, inclusive?: boolean): [Node, number]; split(index: number, force?: boolean): Blot; update(mutations: MutationRecord[], context: { [key: string]: any; }): void; value(): string; } export default TextBlot;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_modular_admin-1.0.0 | app/assets/node_modules/parchment/dist/src/blot/text.d.ts |
rails_modular_admin-0.4.0 | app/assets/node_modules/parchment/dist/src/blot/text.d.ts |