Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demo showcasing how to use gridstack.js attributes in CSS #2917

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

adiessl
Copy link
Contributor

@adiessl adiessl commented Jan 2, 2025

Description

This PR adds a small demo HTML page showcasing how to use the gs-* attributes gridstack.js provides in CSS, in this case to display the widgets dimensions.

This is a follow-up of this comment: #2854 (comment)

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

@adumesny adumesny merged commit 00b268e into gridstack:master Jan 2, 2025
@adumesny
Copy link
Member

adumesny commented Jan 2, 2025

great, thank you for adding this handy demo! this makes sure I won't ever remove the attr even when not used for css :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants