Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
блочно > IPositionable
Позиционируемый интерфейс
Интерфейс для компонента, расположенного поверх рабочей области.
Подпись:
export interface IPositionable extends IComponent
Расширяет: IComponent
Методы
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[],["The `IPositionable` interface defines components positioned on top of a workspace. It extends the `IComponent` interface. Key actions include retrieving the UI element's bounding rectangle via `getBoundingRectangle()`, which returns pixel units relative to the injection div. The `position()` method is used to reposition the element, typically when the window size changes. These methods ensure the component's location and dimensions are accurately tracked and managed within the workspace.\n"],null,[]]