Ripple

open class Ripple(rippleColor: <Error class: unknown class>? = null, rippleBackground: <Error class: unknown class>? = null, size: RippleSize? = null, center: Boolean? = null, className: String? = null, init: Ripple.() -> Unit? = null)

A ripple effect component.

Parameters

rippleColor

the color of the ripple effect

rippleBackground

the color of the background

size

sizing of the wave on ripple effect

center

whether the wave effect position is moved to the center of the target element

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(rippleColor: <Error class: unknown class>? = null, rippleBackground: <Error class: unknown class>? = null, size: RippleSize? = null, center: Boolean? = null, className: String? = null, init: Ripple.() -> Unit? = null)

Creates a ripple effect component.

Properties

Link copied to clipboard

Whether the wave effect position is moved to the center of the target element.

Link copied to clipboard

Whether the ripple effect is disabled.

Link copied to clipboard

A modifier attribute to specify custom styles.

Link copied to clipboard
var rippleBackground: <Error class: unknown class>?

The color of the background.

Link copied to clipboard
var rippleColor: <Error class: unknown class>?

The color of the ripple effect.

Link copied to clipboard

Sizing of the wave on the ripple effect.

Functions

Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun render(): <Error class: unknown class>