Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1x 1x 39x 1x 21x | import { getHiddenProperty, setHiddenProperty } from './hiddenProperty'; /** * Get image state from element. This is used to store a image state. */ export function getImageState(element: HTMLElement): string | undefined { return getHiddenProperty(element, 'imageState'); } /** * Set image state to element. This is used to store a image state. */ export function setImageState(element: HTMLElement, marker: string): void { setHiddenProperty(element, 'imageState', marker); } |