...
Status | ||||
---|---|---|---|---|
|
기본 설정 (공통)
Key | Type | Description |
---|---|---|
name | String |
버튼의 이름을 설정합니다. 버튼의 이름은 고유해야 하며 필수로 설정해야 합니다.
| |||||||||||||
label | String | 버튼의 레이블입니다. 툴팁으로 보여집니다.
| |||||||||||
type | String |
버튼의 타입입니다.
| |||||||||||
iconSVG | String | 버튼에 보여질 아이콘의 SVG 태그 또는 IMG 태그 입니다.
| |||||||||||
iconName | String | 버튼에 보여질 아이콘의 이름입니다. |
...
iconSVG 옵션이 설정되어있지 않으면 버튼의 아이콘이 에디터에 등록되어있는 아이콘들 중에서 iconName과 동일한 이름을 가진 아이콘으로 설정됩니다.
|
버튼 정의하기
Key | Type | Description |
---|
onClickFunc |
Function | 버튼을 눌렀을때 수행할 동작입니다. |
드롭다운 정의하기
String
type String 드롭다운의 타입입니다. iconSVG String 드롭다운에 보여질 아이콘의 SVG 입니다. iconName String 드롭다운에 보여질 아이콘의 이름입니다.
드롭다운의 레이블입니다.
수행될
Key |
---|
Type | Description | |
---|---|---|
onClickFunc | Function | 드롭다운을 눌렀을때 |
수행할 동작입니다. | ||
dropdownItems | Object[] | 드롭다운의 아이템 목록입니다. |
isSingle | Boolean | |
useIcon | Boolean | |