-
Notifications
You must be signed in to change notification settings - Fork 134
2 Questions / feature requests: Regarding dock and nested togglable areas #90
Comments
You can achieve a sidebar within a container by The docked icon portion doesn't really have much to do with ng-sidebar, and seems like a pretty straightforward thing to make separately, so I won't be considering adding something like to that to this library (i.e. it's out of scope). I've never thought of opening up a sub-sidebar from within a sidebar. You could probably do some clever "hacks" to do it though, like having a second sidebar in your template that's just styled so it's wide enough or positioned such that it appears to be showing up beside your first sidebar, and the hooks to open/close it are you would normally do it within the first sidebar. tl;dr: I do think that what you're aiming to achieve is (mostly) achievable without too much effort, and I think without any modification to what ng-sidebar can already do. |
@arkon , ok, I actually agree that question 2 might be out of scope and is relatively easy to accomplish, so I'm going to let that one go and handle it locally with some custom methods and buttons. As far as question 1 goes, yes.. I'm thinking about it and can't come up with an easy or quick way to handle this one so I'm going to think about it and let you know if I figure it out. I will need to either make this work or drop the component for this specific section of my app because of it's requirements so I might be able to come up with something that works. |
You can close this issue I'll go ahead and report in the original #51 issue if I have news. Thanks again for your help, much appreciated. |
You probably shouldn't use the docked mode for it. In my head, it's more so something like this (in plain HTML, not Angular components): <header>
// Anders Ringfelter
</header>
<div class="container">
<aside>
// list of icons (eye, clock, etc.) that act as sidebar/sidebar content toggles
</aside>
<main>
// sidebar container and sidebars would go here
// ...content...
</main>
</div> |
@arkon, Thanks dude, appreciate your time and dedication into this. Keep it up. |
@arkon
Thanks for your quick fix to my previous issue.
I have a non-related question though, didn't want to create a new issue for it but figured you wouldn't see it in the closed thread.
Is it ok if I ask it in here?
I'm trying to achieve 2 things (see image for reference):
I am assuming none of these are contemplated in the project nor are achievable with the project as is right now?
If it's doable i'm wondering if you can shed some light into how to achieve it.
If it's not doable, then i'm wondering if this is something u might want to include in the project? I could help by creating a PR with it if you want as well, and work on it until you consider it acceptable to include.
The text was updated successfully, but these errors were encountered: