blockly > IPositionable

IPositionable 인터페이스

작업공간 상단에 배치되는 구성요소의 인터페이스입니다.

Signature:

export interface IPositionable extends IComponent 

확장: IComponent

방법

메서드 설명
getBoundingRectangle() 블록리 삽입 div를 기준으로 UI 요소의 경계 직사각형을 픽셀 단위로 반환합니다.
position(metrics, savedPositions) 요소를 배치합니다. 창 크기가 조절될 때 호출됩니다.