Open
Description
export function pointerEventsStyleFromOpacity(opacity$: ObservableWithMotionOperators<number>): ObservableWithMotionOperators<string> {
return opacity$.threshold(.9).rewrite({
mapping: {
[ThresholdRegion.ABOVE]: 'inherit',
[ThresholdRegion.WITHIN]: 'inherit',
[ThresholdRegion.BELOW]: 'none',
},
});
}
Metadata
Metadata
Assignees
Labels
No labels