mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(ripple): fix missing jsdoc descriptions (#12305)
This commit is contained in:
committed by
Joey Perrott
parent
3b50e44bf2
commit
82915c75d4
@@ -18,12 +18,14 @@ export enum RippleState {
|
||||
*/
|
||||
export class RippleRef {
|
||||
|
||||
/** Current state of the ripple reference. */
|
||||
/** Current state of the ripple. */
|
||||
state: RippleState = RippleState.HIDDEN;
|
||||
|
||||
constructor(
|
||||
private _renderer: RippleRenderer,
|
||||
/** Reference to the ripple HTML element. */
|
||||
public element: HTMLElement,
|
||||
/** Ripple configuration used for the ripple. */
|
||||
public config: RippleConfig) {
|
||||
}
|
||||
|
||||
|
||||
@@ -163,7 +163,10 @@ export class MatRipple implements OnInit, OnDestroy, RippleTarget {
|
||||
this._rippleRenderer.fadeOutAll();
|
||||
}
|
||||
|
||||
/** Ripple configuration from the directive's input values. */
|
||||
/**
|
||||
* Ripple configuration from the directive's input values.
|
||||
* @docs-private Implemented as part of RippleTarget
|
||||
*/
|
||||
get rippleConfig(): RippleConfig {
|
||||
return {
|
||||
centered: this.centered,
|
||||
@@ -175,7 +178,10 @@ export class MatRipple implements OnInit, OnDestroy, RippleTarget {
|
||||
};
|
||||
}
|
||||
|
||||
/** Whether ripples on pointer-down are disabled or not. */
|
||||
/**
|
||||
* Whether ripples on pointer-down are disabled or not.
|
||||
* @docs-private Implemented as part of RippleTarget
|
||||
*/
|
||||
get rippleDisabled(): boolean {
|
||||
return this.disabled || !!this._globalOptions.disabled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user