Open appsforartists opened 6 years ago
export function pointerEventsStyleFromOpacity(opacity$: ObservableWithMotionOperators<number>): ObservableWithMotionOperators<string> { return opacity$.threshold(.9).rewrite({ mapping: { [ThresholdRegion.ABOVE]: 'inherit', [ThresholdRegion.WITHIN]: 'inherit', [ThresholdRegion.BELOW]: 'none', }, }); }