Skip to main content

Css

Functions

FunctionDescription
registerAdd some CSS to the blob that will be injected later. Allows optional components such as fields and the toolbox to store separate CSS.
injectInject the CSS into the DOM. This is preferable over using a regular CSS file since: a) It loads synchronously and doesn't force a redraw later. b) It speeds up loading by not blocking on a separate HTTP transfer. c) The CSS content may be made dynamic depending on init options.