rd010
February 17, 2018, 1:17pm
1
Thanks so much to the Blaze developers and the package/atmosphere community for all the amazing code that is available for Meteor and Blaze.
I’ve been using similar code personally for over a year, and finally formalized it into a Meteor package.
Its early alpha, but is fully functional. Please check it out and let me know what you think! Feel free to post issues.
https://atmospherejs.com/rd010/bootstrap-master-modal
–
r
3 Likes
rd010
February 17, 2018, 2:28pm
2
Am working on updating the docs on github. See most up to date there:
# Bootstrap Master Modal
### For MeteorJS & BlazeJS
This package will allow for dynamically generated modal views from supplied template.
You can trigger the modal as you would normally with bootstrap in the DOM, and set extra attributes for which template title etc. to render in the modal.
To install:
`meteor add rd010:bootstrap-master-modal`
In your top level BlazeJS component template, include the MasterModal helper:
```handlebars
{{MasterModal}}
```
This will add the bootstrap modal element to your HTML document.
You trigger the modal in the same manner as a normal bootstrap modal with modifications:
This file has been truncated. show original
2 Likes
rd010
March 5, 2018, 12:17pm
3
Updated the documentation. Hoping to get feedback before final development. Any ideas? Feel free to post here or check/open issues.
msavin
March 5, 2018, 12:19pm
4
As this is a UI thing - you need to create a demo. Show the modal in action, and the code behind it.
rd010
March 5, 2018, 12:21pm
5
Ok @msavin thanks for the input! Suggested platform for demo? Standalone?
msavin
March 5, 2018, 1:24pm
6
Standalone, real app. You can deploy it for free to Heroku. Let people see code samples and run them.
rd010
March 5, 2018, 3:19pm
7
Ok I’m looking into it. The only problem is that deploying an app that only pops up a modal, and doesn’t let developers view or edit the code, seems a little pointless. Looking for a meteorpad replacement turns up nothing so far. Tried to find what other packages are using for demos. Of course AutoForm is a nice one.
I could build a little “mini-meteorpad” just for the package I suppose…
rd010
March 7, 2018, 9:00pm
8
Added some more final changes to core conventions and enhanced some core methods. Also working on improving documentation. This is very usable now. Looking forward to any in-the-wild feedback