setSkin
Description
更改当前激活的 skin
setSkin: (skin: string) => void
Parameters
skin- (required) string - 要应用的 skin 名称。有效选项包括:"terrace"、"dark"、"material"、"flat"、"contrast-white"、"contrast-black"
Example
scheduler.setSkin("flat");
Related samples
Details
当此方法在 scheduler 初始化后调用时,会触发 render 方法以更新显示。
如果在初始化之前调用,它的效果与直接设置 scheduler.skin 属性相同:
scheduler.skin = "flat";
Related Guides
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.