UNPKG

ecmarkup

Version:

Custom element definitions and core utilities for markup that specifies ECMAScript and related technologies.

13 lines (12 loc) 445 B
import type { Context } from './Context'; import type { AlgorithmNode } from 'ecmarkdown'; import Builder from './Builder'; export type AlgorithmElementWithTree = HTMLElement & { ecmarkdownTree: AlgorithmNode | null; originalHtml: string; }; export default class Algorithm extends Builder { static enter(context: Context): Promise<void>; static exit(context: Context): void; static readonly elements: readonly ["EMU-ALG"]; }