ripple is added

This commit is contained in:
병준 박 2019-11-18 18:29:55 +09:00
parent f70bc5c46d
commit 5a7585fc68
2 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,7 @@
*matTreeNodeDef="let node; when: isHeader" *matTreeNodeDef="let node; when: isHeader"
class="tree-node-frame" class="tree-node-frame"
style="height: 80px;" style="height: 80px;"
matRipple
> >
<li class="tree-node-header" matTreeNodeToggle> <li class="tree-node-header" matTreeNodeToggle>
<div class="path"> <div class="path">

View File

@ -6,14 +6,15 @@ import { FlexLayoutModule } from '@angular/flex-layout';
import { ScrollingModule } from '@angular/cdk/scrolling'; import { ScrollingModule } from '@angular/cdk/scrolling';
import { MatRippleModule, MatCheckboxModule } from '@angular/material';
import { MatButtonModule } from '@angular/material/button'; import { MatButtonModule } from '@angular/material/button';
import { MatExpansionModule } from '@angular/material/expansion'; import { MatExpansionModule } from '@angular/material/expansion';
import { MatIconModule } from '@angular/material/icon'; import { MatIconModule } from '@angular/material/icon';
import { MatTreeModule } from '@angular/material/tree'; import { MatTreeModule } from '@angular/material/tree';
import { ExpansionPanelComponent } from './components/expansion-panel.component'; import { ExpansionPanelComponent } from './components/expansion-panel.component';
import { ExpansionPanelItemDirective } from './directives/expansion-panel-item.directive'; import { ExpansionPanelItemDirective } from './directives/expansion-panel-item.directive';
import { MatCheckboxModule } from '@angular/material';
const COMPONENTS = [ExpansionPanelComponent]; const COMPONENTS = [ExpansionPanelComponent];
const DIALOGS = []; const DIALOGS = [];
@ -32,7 +33,8 @@ const SERVICES = [];
MatExpansionModule, MatExpansionModule,
MatIconModule, MatIconModule,
MatTreeModule, MatTreeModule,
MatCheckboxModule MatCheckboxModule,
MatRippleModule
], ],
exports: [...COMPONENTS, ...DIRECTIVES], exports: [...COMPONENTS, ...DIRECTIVES],
declarations: [...COMPONENTS, ...DIRECTIVES], declarations: [...COMPONENTS, ...DIRECTIVES],