remold/ui

Ignore

Leaves its contents out of transitions.

Installation

npm install @remold-ui/react

Using plain JavaScript? Install @remold-ui/dom instead.

Usage

<Remold.Morph trigger={view}>
  <Remold.Ignore>
    <LiveChart />
  </Remold.Ignore>
</Remold.Morph>

Anything inside is left out of transitions: it isn't measured, paired or moved. Use it for videos, live charts and anything that animates by itself. It renders a span with data-rm-ignore; you can put that attribute on any element instead.

API reference

Prop

Type

On this page