스크립트 에디터
이벤트 탭에서는 스크립트를 활용하여 좀 더 유연한 개발을 할 수 있습니다. 이벤트 스크립트 작성법을 모르거나 스크립트 도우미에 대한 정보가 필요하다면 해당 페이지가 도움이 될 수 있습니다.
Last updated
Was this helpful?
이벤트 탭에서는 스크립트를 활용하여 좀 더 유연한 개발을 할 수 있습니다. 이벤트 스크립트 작성법을 모르거나 스크립트 도우미에 대한 정보가 필요하다면 해당 페이지가 도움이 될 수 있습니다.
Last updated
Was this helpful?
Was this helpful?
const textComponent = f.Component().element;
// Some code
const animal = ['고양이','비둘기','사자'];
for(let i=0; i<animal.length; i++){
const ani = `${animal[i]}`
f.Collection.addSector({'이름' : ani},'동물');
}