setSkin

sets the active skin

void setSkin(string skin);
skinstringthe name of the skin. The allowed values are: "terrace", "dark", "material", "flat", "contrast-white", "contrast-black"

Example

scheduler.setSkin("flat");

Related samples

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";
See also
  • Articles
  • Back to top