@eclipse-scout/core
Version:
Eclipse Scout runtime
19 lines • 913 B
TypeScript
import { Widget } from '../index';
export declare class GlassPane extends Widget {
protected _active: boolean;
protected _render(): void;
protected _remove(): void;
/**
* Adds the class `glasspane-parent` to the parent which disables `pointer-events` to prevent mouse interactions with the elements underneath.
* Also registers the `$parent` as glasspane target in the focus manager so it cannot gain focus and keystrokes are blocked.
*/
activate(): void;
/**
* Reverts the changes in {@link activate} and adds the class `deactivated` to the glasspane
* so that it doesn't have any effect on focus, keystrokes and mouse interactions anymore but is still rendered.
*
* This is useful if the glasspane should be deactivated but persist for some time, e.g. during a remove animation.
*/
deactivate(): void;
}
//# sourceMappingURL=GlassPane.d.ts.map