ripple is added

This commit is contained in:
병준 박 2019-11-18 18:35:27 +09:00
parent 5a7585fc68
commit 3fba7224ba
3 changed files with 8 additions and 5 deletions

View File

@ -9,7 +9,7 @@
class="group-tree"
>
<!-- This is the tree node template for leaf nodes -->
<mat-tree-node *matTreeNodeDef="let node" style="height: 80px;">
<mat-tree-node *matTreeNodeDef="let node" style="height: 80px;" matRipple>
<li>
<div class="mat-tree-node">
<ng-container

View File

@ -14,8 +14,8 @@
matTreeNodePadding
class="mat-tree-last-node"
>
<li>
<div (click)="onClickNode(node)">
<li (click)="onClickNode(node)" matRipple>
<div>
{{ node.name }}
</div>
</li>
@ -26,8 +26,8 @@
matTreeNodePadding
class="tree-node-frame"
>
<li>
<div (click)="onClickNode(node)" class="path">
<li (click)="onClickNode(node)" matRipple>
<div class="path">
<span class="horizontal-line"></span>
<button
mat-icon-button

View File

@ -6,6 +6,8 @@ import { FlexLayoutModule } from '@angular/flex-layout';
import { ScrollingModule } from '@angular/cdk/scrolling';
import { MatRippleModule } from '@angular/material';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
@ -26,6 +28,7 @@ const SERVICES = [];
FlexLayoutModule,
ScrollingModule,
MatRippleModule,
MatButtonModule,
MatIconModule,
MatInputModule,