Skip to content
angulux
@anguless/angulux/ripple

Ripple

1 declaration1 demoripple.md
import
import { RippleModule } from '@anguless/angulux/ripple';

Basic

aglRipple adds the click ripple to any element that should feel pressable.

Click me
<div    aglRipple    style="padding: 2rem; border: 1px solid var(--border, #e2e8f0); border-radius: 10px; cursor: pointer; user-select: none">    Click me</div>

API

Generated from the committed corpus, which check:corpus holds to the built library.

Ripple

directive[aglRipple]

Ripple directive adds ripple effect to the host element.

Inherited from BaseComponent

inherited
InputTypeDefaultDescription
dtObject | undefined undefined Defines scoped design tokens of the component.
unstyledboolean | undefined undefined Indicates whether the component should be rendered without styles.
ptPT | undefined undefined Used to pass attributes to DOM elements inside the component. Keys become attributes, and a key that names a DOM property is also assigned to that property. Values the browser would execute go through Angular's sanitizer first, as in a template binding: markup in `innerHTML`, `outerHTML` and `srcdoc`, and URLs in `href`, `src`, `action`, `formaction` and `xlink:href`. To write one of those unsanitized on purpose, pass a `DomSanitizer.bypassSecurityTrustHtml` or `bypassSecurityTrustUrl` value. An `on*` key must be a function, and any other value for it is ignored. Keys themselves are applied as given, so let data from users choose values, never keys.
ptOptionsPassThroughOptions | undefined undefined Used to configure passthrough(pt) options of the component.