Class: Protos::Collapse::Content

Inherits:
Protos::Component show all
Defined in:
lib/protos/collapse/content.rb

Instance Method Summary collapse

Methods inherited from Protos::Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: The content of a collapse. This would be hidden until the collapse is opened.



9
10
11
# File 'lib/protos/collapse/content.rb', line 9

def view_template(&)
  div(**attrs, &)
end