class method Protoplasm.loadStylesheet

Protoplasm.loadStylesheet(stylesheet[, control]) → null
  • stylesheet (String) – The stylesheet URL. If control is specified, this should be a relative path.
  • control (String) – A control identifier.

Load a stylesheet into the current page. If a control is specified, the result of Protoplasm.base(control) will be prepended to stylesheet.