store.d.ts 442 B

123456789101112131415
  1. import Attributor from './attributor';
  2. import { Formattable } from '../blot/abstract/blot';
  3. declare class AttributorStore {
  4. private attributes;
  5. private domNode;
  6. constructor(domNode: HTMLElement);
  7. attribute(attribute: Attributor, value: any): void;
  8. build(): void;
  9. copy(target: Formattable): void;
  10. move(target: Formattable): void;
  11. values(): {
  12. [key: string]: any;
  13. };
  14. }
  15. export default AttributorStore;