alpheios-project / embed-lib

Alpheios Embedded Library
Other
6 stars 0 forks source link

enable client to specify initial state of panel (open or closed) #39

Closed balmas closed 5 years ago

balmas commented 5 years ago

initial state of the panel should be a constructor arg

balmas commented 5 years ago

I think this is done now. @kirlat can you confirm?

kirlat commented 5 years ago

I think it does not work this way currently, since we've implemented the requirement to have either the toolbar or the panel open. As we always show a toolbar on the activation, the panel is thus always closed.

How should it behave now? If panel's initial state is set to true, shall we open the panel and hide the toolbar on activation?

balmas commented 5 years ago

Ah, I think maybe the new toolbar behavior obviates the need for this. Let's close it until/unless we get a request for it.