clr-angular-static-fix
Version:
1. Install Clarity Icons package through npm:
29 lines (26 loc) • 882 B
text/typescript
/*
* Copyright (c) 2016-2018 VMware, Inc. All Rights Reserved.
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { Component, HostListener, Optional } from '@angular/core';
import { VerticalNavGroupService } from './providers/vertical-nav-group.service';
export class ClrVerticalNavLink {
constructor( private _navGroupService: VerticalNavGroupService) {}
public expandParentNavGroup(): void {
if (this._navGroupService) {
this._navGroupService.expand();
}
}
}