René's URL Explorer Experiment


Title: Gridstack on Meteor · Issue #77 · gridstack/gridstack.js · GitHub

Open Graph Title: Gridstack on Meteor · Issue #77 · gridstack/gridstack.js

X Title: Gridstack on Meteor · Issue #77 · gridstack/gridstack.js

Description: Hi @troolee, Thx for this library! Totally awesome. I just worked out how to use gridstack on Meteor. I have implemented persistent edits, which stores the grid tile properties in a Mongo collection. I have to say, it's pretty cool! Belo...

Open Graph Description: Hi @troolee, Thx for this library! Totally awesome. I just worked out how to use gridstack on Meteor. I have implemented persistent edits, which stores the grid tile properties in a Mongo collectio...

X Description: Hi @troolee, Thx for this library! Totally awesome. I just worked out how to use gridstack on Meteor. I have implemented persistent edits, which stores the grid tile properties in a Mongo collectio...

Opengraph URL: https://github.com/gridstack/gridstack.js/issues/77

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Gridstack on Meteor","articleBody":"Hi @troolee,\nThx for this library! Totally awesome.\nI just worked out how to use gridstack on Meteor. I have implemented persistent edits, which stores the grid tile properties in a Mongo collection. I have to say, it's pretty cool!\n\nBelow is the code I've used. \n\nAdd existing smart package from atmospherejs.com (https://atmospherejs.com/tarzak/gridstackjs) -- I'm trying to find out if the author will publish their package code onto GitHub.\n\n```\nmeteor create myApp\ncd myApp\nmeteor add tarzak:gridstackjs\n```\n\nHTML:\n\n``` html\n\u003c!-- myApp.html --\u003e\n\u003cbody\u003e\n{{\u003e gridstack}}\n\u003c/body\u003e\n\u003ctemplate name=\"gridstack\"\u003e\n \u003cdiv class=\"grid-stack\"\u003e\u003c/div\u003e\n\u003c/template\u003e\n```\n\nShared client/server JavaScript to create a Mongo collection\n\n``` javascript\n// myApp.js\nGridTiles = new Mongo.Collection(\"gridTiles\");\n/* GridTiles.insert({\n _id: \"abcd\", // mongoId \n x: 0,\n y: 1,\n width: 2,\n height: 2\n}); */\n```\n\nClient JavaScript\n\n``` javascript\n// client/myGridstack.js\nTemplate.gridstack.rendered = function () {\n var gridstackOptions = {};\n Tracker.autorun(function () {\n  var gridTiles = GridTiles.find().fetch();\n  var grid = $('.grid-stack').gridstack(gridstackOptions).data('gridstack');\n  grid.remove_all();\n  _.each(gridTiles, function (tile) {\n   var widgetElement = $('\u003cdiv\u003e\u003cdiv class=\"grid-stack-item-content\" /\u003e\u003cdiv/\u003e')\n   if(widgetElement)    {\n    grid.add_widget(widgetElement, tile.x, tile.y, tile.width, tile.height);\n    widgetElement.attr('data-custom-id', tile._id);\n   }\n  });\n }); // End autorun\n // Define onchange to update Mongo collection\n $('.grid-stack').on('change', function (event, items) {\n  _.each(items, function (item) {\n   var attributes = item.el.data();\n   GridTiles.update({_id:attributes.customId},\n   {x:attributes.gsX,y:attributes.gsY,height:attributes.gsHeight, width:attributes.gsWidth});\n  });\n });\n};      \n```\n\nThat's it! =-) \nNew tiles can be added on the fly (i.e., reactively) just by inserting into the Mongo collection. When you move or resize the tiles, the new locations are saved. The \"bindings\" are already hooked up because of the `Tracker.autorun()` function.\n\nThe Meteor community is building procedures for libraries like Gridstack.js to have \"official\" integrations with Meteor (i.e., sponsored by the official maintainers). If you're open to this, I can try to help with the set-up as well as add documentation.\n","author":{"url":"https://github.com/jonlachlan","@type":"Person","name":"jonlachlan"},"datePublished":"2015-02-25T20:02:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/77/gridstack.js/issues/77"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2ee71331-82dd-fd95-5d7e-cbc2733e4a22
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA156:1E98B7:7E0FD2:A6517E:69783492
html-safe-nonce84ef9630d3121bf3dfe172ae0d924f2243a8c54cbdd4fbb6069657d017031cd1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTU2OjFFOThCNzo3RTBGRDI6QTY1MTdFOjY5NzgzNDkyIiwidmlzaXRvcl9pZCI6IjU5MjYyNjA5MTk3NzUwMTYwODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3af87b87a62c39cf311f03b42ce8b09a42ae1d0c67e0d36cfbba14d662f136de
hovercard-subject-tagissue:58960759
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gridstack/gridstack.js/77/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7342ba5479aae89dba7c3465f8dd6d39faba82dc9322e09fc7b442a9ba863074/gridstack/gridstack.js/issues/77
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7342ba5479aae89dba7c3465f8dd6d39faba82dc9322e09fc7b442a9ba863074/gridstack/gridstack.js/issues/77
og:image:altHi @troolee, Thx for this library! Totally awesome. I just worked out how to use gridstack on Meteor. I have implemented persistent edits, which stores the grid tile properties in a Mongo collectio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejonlachlan
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/gridstack/gridstack.js git https://github.com/gridstack/gridstack.js.git
octolytics-dimension-user_id31674162
octolytics-dimension-user_logingridstack
octolytics-dimension-repository_id26417283
octolytics-dimension-repository_nwogridstack/gridstack.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id26417283
octolytics-dimension-repository_network_root_nwogridstack/gridstack.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8cc3e064910e26648760f573a358cfc07c97b42c
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues/77#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgridstack%2Fgridstack.js%2Fissues%2F77
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgridstack%2Fgridstack.js%2Fissues%2F77
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=gridstack%2Fgridstack.js
Reloadhttps://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues/77
Reloadhttps://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues/77
Reloadhttps://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues/77
gridstack https://patch-diff.githubusercontent.com/gridstack
gridstack.jshttps://patch-diff.githubusercontent.com/gridstack/gridstack.js
Please reload this pagehttps://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues/77
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgridstack%2Fgridstack.js
Fork 1.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fgridstack%2Fgridstack.js
Star 8.7k https://patch-diff.githubusercontent.com/login?return_to=%2Fgridstack%2Fgridstack.js
Code https://patch-diff.githubusercontent.com/gridstack/gridstack.js
Issues 56 https://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues
Pull requests 7 https://patch-diff.githubusercontent.com/gridstack/gridstack.js/pulls
Projects 0 https://patch-diff.githubusercontent.com/gridstack/gridstack.js/projects
Wiki https://patch-diff.githubusercontent.com/gridstack/gridstack.js/wiki
Security 0 https://patch-diff.githubusercontent.com/gridstack/gridstack.js/security
Insights https://patch-diff.githubusercontent.com/gridstack/gridstack.js/pulse
Code https://patch-diff.githubusercontent.com/gridstack/gridstack.js
Issues https://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues
Pull requests https://patch-diff.githubusercontent.com/gridstack/gridstack.js/pulls
Projects https://patch-diff.githubusercontent.com/gridstack/gridstack.js/projects
Wiki https://patch-diff.githubusercontent.com/gridstack/gridstack.js/wiki
Security https://patch-diff.githubusercontent.com/gridstack/gridstack.js/security
Insights https://patch-diff.githubusercontent.com/gridstack/gridstack.js/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/gridstack/gridstack.js/issues/77
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/gridstack/gridstack.js/issues/77
Gridstack on Meteorhttps://patch-diff.githubusercontent.com/gridstack/gridstack.js/issues/77#top
https://github.com/jonlachlan
https://github.com/jonlachlan
jonlachlanhttps://github.com/jonlachlan
on Feb 25, 2015https://github.com/gridstack/gridstack.js/issues/77#issue-58960759
@trooleehttps://github.com/troolee
https://atmospherejs.com/tarzak/gridstackjshttps://atmospherejs.com/tarzak/gridstackjs
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.