We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NavItem interface will be updated as shown below:
import { Type } from '@angular/core'; export interface NavItem { id: string | number; component?: Type<any>; html?: string; action?: () => void; order?: number; requiredPolicy?: string; + visible?: () => boolean; }
If you don't pass the visible property, it will be set as () => true.
visible
() => true
The text was updated successfully, but these errors were encountered:
feat(theme-shared): add the visible property to NavItem interface
5b3886e
#4814
feat(theme-shared): set the visible property default value
c11aa24
feat(theme-basic): implement the visible to nav-items.component.html
7ea54cd
mehmet-erim
Successfully merging a pull request may close this issue.
NavItem interface will be updated as shown below:
import { Type } from '@angular/core'; export interface NavItem { id: string | number; component?: Type<any>; html?: string; action?: () => void; order?: number; requiredPolicy?: string; + visible?: () => boolean; }
If you don't pass the
visible
property, it will be set as() => true
.The text was updated successfully, but these errors were encountered: