본문으로 건너뛰기

setSkin

Description

활성 스킨 설정

setSkin: (skin: string) => void

Parameters

  • skin - (required) string - 스킨의 이름. 허용 값은 아래와 같습니다: "terrace", "dark", "material", "contrast-white", "contrast-black", "meadow", "skyblue", "broadway"

Example

gantt.setSkin("dark");

Details

메서드가 gantt가 초기화된 후 호출되면 render 메서드를 실행합니다.

초기화 전에 호출되면, 이 메서드는 gantt.skin 속성에 값을 할당하는 것과 동일한 효과를 가집니다:

gantt.skin = "dark";

Change log

  • v9.0에 추가됨
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.