mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { RippleGlobalOptions } from '@angular/material/core';
|
|
|
|
@Injectable({providedIn: 'root'})
|
|
export class RippleService implements RippleGlobalOptions {
|
|
public disabled: boolean = false;
|
|
|
|
public toggle(enabled: boolean): void {
|
|
this.disabled = !enabled;
|
|
}
|
|
}
|