본문으로 건너뛰기

width

설명

선택 사항입니다. 에디터의 shapebar 너비를 설정합니다.

사용법

width?: number;

기본 설정

width: 300

예제

const editor = new dhx.DiagramEditor("editor_container", {
type: "default",
view: {
// shapebar: true, // 기본 Shapebar를 표시합니다
// 또는 객체를 통해 Shapebar 구성
shapebar: {
width: 400 // 기본값은 300입니다
}
}
});

관련 문서: Shapebar

변경 로그: v6.0에서 추가