Lightbox는 이벤트의 세부 정보를 수정하기 위해 설계된 편집 폼입니다. 기본 Lightbox는 아래 이미지와 같습니다.
Lightbox의 레이아웃은 lightbox 객체의 sections 속성으로 정의됩니다:
// 기본 lightbox 정의
scheduler.config.lightbox.sections=[
{name:"description", height:200, map_to:"text", type:"textarea" , focus:true},
{name:"time", height:72, type:"time", map_to:"auto"}
];
sections 배열의 각 항목은 lightbox 내의 특정 섹션을 정의하는 객체입니다 (사용 가능한 섹션 속성).
Lightbox의 각 섹션은 특정 컨트롤을 중심으로 구성됩니다. Lightbox에서 사용할 수 있는 컨트롤 타입은 다음과 같습니다:
사용하는 에디터의 조합과 관계없이, 'time' 에디터는 항상 lightbox의 마지막에 배치되어야 합니다.
{name:"recurring", height:21, type:"select", map_to:"rec_type", options:[
{key:"", label:"Do not repeat"},
{key:"day", label:"Each day"},
{key:"week", label:"Each week"},
{key:"month", label:"Each month"}
]}
맨 위로