what is the lack of introduction? I didn"t find it again.
- Template code snippet:
<div md-subheader class="header-container">
<div>
<h3>{{header}}</h3>
</div>
<div class="fill">
<button md-button>
<md-icon>add_circle_outline</md-icon>
<span></span>
</button>
</div>
<div>
<button md-icon-button [mdMenuTriggerFor]="menu">
<md-icon>keyboard_arrow_down</md-icon>
</button>
</div>
</div>
<md-menu -sharpmenu="mdMenu">
<button md-menu-item>
<md-icon>mode_edit</md-icon>
<span></span>
</button>
<button md-menu-item>
<md-icon [svgIcon]=""move""></md-icon>
<span></span>
</button>
<button md-menu-item>
<md-icon>delete_forever</md-icon>
<span></span>
</button>
</md-menu>
2.TS code snippet:
import { Component, OnInit, Input } from "@angular/core";
@Component({
selector: "app-task-header",
templateUrl: "./task-header.component.html",
styleUrls: ["./task-header.component.scss"]
})
export class TaskHeaderComponent implements OnInit {
@Input() header = "";
constructor() { }
ngOnInit() {
}
}