Skip to content

Is it possible to start with a collapsed panel? #13

Open
@fabrouy

Description

@fabrouy
controller do
    def index
      left_sidebar!(collapsed: true)
      super
    end
end

I see collapsed: true adds the ability to collapse/expand the panel. However does not allow to start with a collapsed panel.

I would change collapsed to collapsible because collapsed sounds more like a state. And would add collapsed to config if panel appears collapsed/expanded on page load.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions