Class: Interfacets::Client::Channels::PageVisibility
- Inherits:
-
Object
- Object
- Interfacets::Client::Channels::PageVisibility
show all
- Includes:
- Base
- Defined in:
- lib/interfacets/client/channels/page_visibility.rb
Instance Attribute Summary
Attributes included from Base
#id
Instance Method Summary
collapse
Methods included from Base
#initialize, #type
#append_features, #class_methods, extended, #included, #prepend_features, #prepended
Instance Method Details
11
|
# File 'lib/interfacets/client/channels/page_visibility.rb', line 11
def configure(facet:); end
|
#handle(facet:, event:) ⇒ Object
13
14
15
|
# File 'lib/interfacets/client/channels/page_visibility.rb', line 13
def handle(facet:, event:)
facet.visibility_change(event.dig("payload", "state"))
end
|
#render(_facet) ⇒ Object
17
|
# File 'lib/interfacets/client/channels/page_visibility.rb', line 17
def render(_facet); end
|