| Class | Wee::Delegate |
| In: |
lib/wee/decoration.rb
|
| Parent: | Decoration |
A Wee::Delegate breaks the decoration chain and forwards the methods process_callbacks, render_on and backtrack to the corresponding chain method of it‘s delegate component (a Wee::Component).
Forwards method to the corresponding top-level chain method of the delegate component. We also take snapshots of all non-visible components, thus we follow the @next decoration (via super).
# File lib/wee/decoration.rb, line 194 def backtrack(state) super @delegate.decoration.backtrack(state) end
Forwards method to the corresponding top-level chain method of the delegate component.
# File lib/wee/decoration.rb, line 177 def process_callbacks(callbacks) @delegate.decoration.process_callbacks(callbacks) end