Class: PhlexKit::SidebarInput
- Inherits:
-
BaseComponent
- Object
- Phlex::HTML
- BaseComponent
- PhlexKit::SidebarInput
- Defined in:
- app/components/phlex_kit/sidebar/sidebar_input.rb
Overview
Search/filter input for the sidebar, ported from shadcn/ui's SidebarInput: the kit Input on the page background, sized to the sidebar's control height. See sidebar.rb.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ SidebarInput
constructor
A new instance of SidebarInput.
- #view_template ⇒ Object
Methods inherited from BaseComponent
Constructor Details
#initialize(**attrs) ⇒ SidebarInput
Returns a new instance of SidebarInput.
6 7 8 |
# File 'app/components/phlex_kit/sidebar/sidebar_input.rb', line 6 def initialize(**attrs) @attrs = attrs end |