Brenton Simpson

Results 132 issues of Brenton Simpson

It probably looks something like this: ```typescript export function getEventStreamFromElement(type: string, element: Element, eventListenerOptions?: AddEventListenerOptions): ObservableWithMotionOperators; export function getEventStreamFromElement(type: K, element: Element, eventListenerOptions?: AddEventListenerOptions): ObservableWithMotionOperators; ```

Newbie friendly
Internal cleanup

We currently have a 1D spring (`NumericSpring`) and a 2D spring (`Point2DSpring`). It would be nice to have a `DimensionsSpring`, which is really just a `Point2DSpring` with the axes renamed....

```typescript export function pointerEventsStyleFromOpacity(opacity$: ObservableWithMotionOperators): ObservableWithMotionOperators { return opacity$.threshold(.9).rewrite({ mapping: { [ThresholdRegion.ABOVE]: 'inherit', [ThresholdRegion.WITHIN]: 'inherit', [ThresholdRegion.BELOW]: 'none', }, }); } ```

There should be a common way to set `willChange$` from a `state$`. If #235 doesn't happen, we should have something like this: ```typescript function willChangeFromState(motionState$, activeName = 'transform') ``` If...

Dragging the pink box triggers drag-to-reload. Fix it. cc @skevy

We changed from `atRest$` to `state$` because some members of the core team had strong feelings about it being enumerated (I think they found `atRest:true` to be strange to reason...

A frequent question is how Motion works if you only want a gesture at a certain breakpoint. We should put together a demo of an app that doesn't import Motion...

The root namespace of `material-motion` is littered with `Motion____able`. Perhaps we should organize the exports: ```typescript import { operatorInterfaces, } from 'material-motion'; const { MotionPluckable, } = operatorInterfaces; ``` The...

The most useful abstraction missing from MM right now is something that synthesizes velocity and threshold. Our inputs look something like this: - An axis - A series of stops,...

The Marking Menu demo will be a great showcase of an advanced interaction powered by Material Motion. It will need these operators: - `toPolar(): Observable` - `toCartesian(): Observable` - `inIncrementsOf({...