File

menu/src/menu-anchor/menu-anchor.directive.ts

Description

Assigned to an element, MenuAnchor triggers the associated Menu. MenuAnchor provides triggerFor input property. It will trigger the template with a matching id.

Example :
<span talenraMenuAnchor [triggerFor]="myMenu">My Menu</span>
<ng-template #myMenu>
  <talenra-menu><!-- Menu content goes here --></talenra-menu>
</ng-template>

Import

Example :
import { MenuAnchorDirective } from '@talenra/components/menu';

See MenuComponent

../../../#/menu

Implements

FocusableOption AfterViewInit

Metadata

results matching ""

    No results matching ""