class Scrollytelling::Pageflow::Navigation::WidgetType
Public Instance Methods
name()
click to toggle source
# File lib/scrollytelling/pageflow/navigation/widget_type.rb, line 7 def name 'scrollytelling_pageflow_navigation' end
render(template, entry)
click to toggle source
# File lib/scrollytelling/pageflow/navigation/widget_type.rb, line 15 def render(template, entry) template.render('scrollytelling/pageflow/navigation/widget.html.erb', entry: entry) end
roles()
click to toggle source
# File lib/scrollytelling/pageflow/navigation/widget_type.rb, line 11 def roles ['navigation'] end