Closed apellerano-pw closed 2 years ago
:tada: This issue has been resolved in version 3.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@apellerano-pw thanks for reporting this issue 🙏 Check out v3.1.0 for the fix. Please let us know if you have any questions or issues with this release.
In previous versions of this lib it was possible to put a custom classname onto the parent
.grid-stack
element.With the move to Glimmer components, this is no longer possible since the grid-stack template does not specify
...attributes
.Gridstack itself provides a way to specify
class
on theGridStackOptions
; however it is only done inaddGrid
(see: https://github.com/gridstack/gridstack.js/blob/103b4a3e67c4f5205e6aa1144c95cdb48ef3862f/src/gridstack.ts#L167) which this lib doesn't use, so the option is ignored that way as well.Couple ways I can think of to address this...
...attributes
to the grid-stack template divthis.options.class
to the element during_createGridStack()