Releases: yahoo/ember-gridstack
Releases · yahoo/ember-gridstack
v4.0.1
v4.0.0
v3.2.1
v3.2.0
v3.1.1
v3.1.0
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2021-10-19)
BREAKING CHANGES
✨ Huge shoutout to @adumesny for his work on gridstack ✨
-
BREAKING: Update to glimmer components and latest gridstack (#82)
Some changes include
- width -> w, height -> h
- Manually specifying attributes via
data-gs-
-> updated togs-
For more detailed changes head over to gridstack and read their migration guides for v2, v3, and v4
If you want to keep roughly the same display as before use these options
If your
GridStackItem
s are no longer handling resizes, you may need to manually pass the event like this<GridStack @onResizestop={{this.doItemResize}}>
export default class MyComponent extends Component<Args> { @action doItemResize(event: Event, gridStackItem: HTMLElement) { gridStackItem.dispatchEvent(new Event(event.type)); } }
-
FEATURE: Some new options for GridStack events and GridStackItem options
Some changes include
- animation
- native html5 implementation
- better drag in/out and collision handling
-
DOCS: Updated readme examples to use updated hbs syntax