Sha256: bca451dc869d6b4bb1bb2555ffe3a54c7046dc9bd5394e19d698c5562f3c4803

Contents?: true

Size: 1.51 KB

Versions: 2

Compression:

Stored size: 1.51 KB

Contents

import { Blot, Parent } from './blot';
import LinkedList from '../../collection/linked-list';
import ShadowBlot from './shadow';
declare class ContainerBlot extends ShadowBlot implements Parent {
    static defaultChild: string;
    static allowedChildren: any[];
    children: LinkedList<Blot>;
    domNode: HTMLElement;
    constructor(domNode: Node);
    appendChild(other: Blot): void;
    attach(): void;
    build(): void;
    deleteAt(index: number, length: number): void;
    descendant(criteria: {
        new (): Blot;
    }, index: number): [Blot | null, number];
    descendant(criteria: (blot: Blot) => boolean, index: number): [Blot | null, number];
    descendants(criteria: {
        new (): Blot;
    }, index: number, length: number): Blot[];
    descendants(criteria: (blot: Blot) => boolean, index: number, length: number): Blot[];
    detach(): void;
    formatAt(index: number, length: number, name: string, value: any): void;
    insertAt(index: number, value: string, def?: any): void;
    insertBefore(childBlot: Blot, refBlot?: Blot): void;
    length(): number;
    moveChildren(targetParent: Parent, refNode?: Blot): void;
    optimize(context: {
        [key: string]: any;
    }): void;
    path(index: number, inclusive?: boolean): [Blot, number][];
    removeChild(child: Blot): void;
    replace(target: Blot): void;
    split(index: number, force?: boolean): Blot;
    unwrap(): void;
    update(mutations: MutationRecord[], context: {
        [key: string]: any;
    }): void;
}
export default ContainerBlot;

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/abstract/container.d.ts
rails_modular_admin-0.4.0 app/assets/node_modules/parchment/dist/src/blot/abstract/container.d.ts