MCPcopy Create free account
hub / github.com/angular/components / _isRippleDisabled

Method _isRippleDisabled

src/material/chips/chip.ts:321–330  ·  view source on GitHub ↗

Whether or not the ripple should be disabled.

()

Source from the content-addressed store, hash-verified

319
320 /** Whether or not the ripple should be disabled. */
321 _isRippleDisabled(): boolean {
322 return (
323 this.disabled ||
324 this.disableRipple ||
325 this._animationsDisabled ||
326 this._isBasicChip ||
327 !this._hasInteractiveActions() ||
328 !!this._globalRippleOptions?.disabled
329 );
330 }
331
332 /** Returns whether the chip has a trailing icon. */
333 _hasTrailingIcon() {

Callers 4

constructorMethod · 0.95
ngDoCheckMethod · 0.95
chip.spec.tsFile · 0.45

Calls 1

Tested by

no test coverage detected