Current section

Files

Jump to
ckeditor5_phoenix dist src hooks context utils read-context-config-or-throw.d.ts
Raw

dist/src/hooks/context/utils/read-context-config-or-throw.d.ts

import { ContextConfig } from '../typings';
/**
* Reads the hook configuration from the element's attribute and parses it as JSON.
*
* @param element - The HTML element that contains the hook configuration.
* @returns The parsed hook configuration.
*/
export declare function readContextConfigOrThrow(element: HTMLElement): ContextConfig;
//# sourceMappingURL=read-context-config-or-throw.d.ts.map