Skip to main content

setSkin

Description

Sets the active skin

setSkin: (skin: string) => void

Parameters

  • skin - (required) string - the name of the skin. The allowed values are: "terrace", "dark", "material", "flat", "contrast-white", "contrast-black"

Example

scheduler.setSkin("flat");

Details

If the method is called after a scheduler is initialized, it will trigger the render method.

If called before initialization, the method will have the same effect as the assignment of the scheduler.skin property:

scheduler.skin = "flat";
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.