Open Et3rnal opened 5 years ago
It would be really nice to allow closeSidebar directive to take boolean so we can use it dynamically
closeSidebar
something like this [closeSidebar]="false" which will disable it so we can use it conditionally like:
[closeSidebar]="false"
[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
It would be really nice to allow
closeSidebar
directive to take boolean so we can use it dynamicallysomething 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