Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Dynamic directive #188

Open
Et3rnal opened this issue Sep 6, 2019 · 0 comments
Open

Dynamic directive #188

Et3rnal opened this issue Sep 6, 2019 · 0 comments

Comments

@Et3rnal
Copy link

Et3rnal commented Sep 6, 2019

It would be really nice to allow closeSidebar directive to take boolean so we can use it dynamically

something like this [closeSidebar]="false" which will disable it so we can use it conditionally like:

[closeSidebar]="condition ? true : false"

This is really useful in responsive designs where we only toggle menus on small devices. Otherwise is there a way to achieve this?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant