File

core/user/user-menu-item.component.ts

Implements

UserMenuItem

Metadata

Index

Properties
Methods
Inputs
Outputs

Constructor

constructor(userService: UserMenuService)
Parameters :
Name Type Optional
userService UserMenuService No

Inputs

icon
Type : string
label
Type : string
link
Type : string
priority
Type : number
Default value : 0
target
Type : string

Outputs

click
Type : EventEmitter

Methods

ngAfterViewInit
ngAfterViewInit()
Returns : void
ngOnDestroy
ngOnDestroy()
Returns : void
onClick
onClick()
Returns : void

Properties

template
Type : any
Decorators :
@ViewChild('template', {static: false})
<ng-template #template>
  <li (click)="onClick()">
    <a class="interact" [attr.href]="link" [attr.target]="target">
      <i [c8yIcon]="icon"></i>
      {{ label | translate }}
      <ng-content></ng-content>
    </a>
  </li>
</ng-template>

results matching ""

    No results matching ""