Textarea

여러 줄 입력이 가능한 텍스트 입력 필드입니다.

scheduler.locale.labels.section_text = 'Text';
 
scheduler.config.lightbox.sections = [
    { name:"text", height:50, map_to:"text", type:"textarea", focus:true },
    { name:"time", height:72, type:"time", map_to:"auto"}
];

Related sample:  Basic initialization

초기화

기본적으로 lightbox에는 하나의 Textarea 컨트롤이 포함되어 있습니다. 추가로 Textarea를 하나 더 추가하려면 아래 단계를 따르세요:

  1. 새 섹션을 lightbox 설정에 포함시키세요:
    scheduler.config.lightbox.sections = [
        { name:"text", ... },
        { name:"location", height:50, map_to:"location", type:"textarea"},
        { name:"time", ...}
    ];
  2. 새 섹션의 라벨을 정의하세요:
    scheduler.locale.labels.section_location = "Location";

Related sample:  Map view

속성

'textarea' 컨트롤에서 자주 사용되는 주요 속성들은 다음과 같습니다 (전체 목록은 여기에서 확인할 수 있습니다):

맨 위로