@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Adds a touch-ripple feedback effect to the host element on pointer interaction.

    Apply as the [uiIndicatesTouch] attribute on any element that should respond with a ripple. The host element gains position: relative and overflow: hidden automatically.

    The ripple colour is controlled via the --ui-ripple-color CSS custom property (default: rgba(255, 255, 255, 0.35)).

    <button uiIndicatesTouch>Click me</button>
    

    Implements

    • OnDestroy
    Index

    Constructors

    Methods

    Constructors

    Methods

    • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns void