본문으로 건너뛰기

lightbox

Description

라이트박스 객체를 지정합니다

lightbox: any

Example

scheduler.config.lightbox.sections = [
{ name: "description", height: 200, map_to: "text", type: "textarea", focus: true },
{ name: "time", height: 72, type: "time", map_to: "auto" }
];
...
scheduler.init('scheduler_here', new Date(2027, 2, 1), "week");

Details

라이트박스 객체에는 1개의 속성이 있습니다:

  • sections - (array) 라이트박스 섹션을 지정합니다
// default definition
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 배열의 각 항목은 다음 속성들을 가질 수 있습니다:

의미: map_to: "auto"

map_to 속성은 "auto" 값을 가질 수 있습니다. "auto" 값은 다음과 관련이 있습니다:

  • 컨트롤은 값을 반환하지 않으며, Custom Lightbox Control 메서드에 따라 관련 이벤트의 속성 값을 직접 변경합니다.
  • 일반적으로, "auto" 값은 이벤트의 여러 속성으로 작동하는 복합 컨트롤에 사용됩니다.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.