Method: Ferro::Compositor#initialize

Defined in:
opal/opal-ferro/ferro_compositor.js.rb

#initialize(theme = nil) ⇒ Compositor

Create the style compositor.

Parameters:

  • theme (Symbol) (defaults to: nil)

    Optional styling theme



10
11
12
# File 'opal/opal-ferro/ferro_compositor.js.rb', line 10

def initialize(theme = nil)
  @current_theme = theme
end