Closed awatson1978 closed 9 years ago
var BaseModal = BlazeComponent.extendComponent({
template: function () {
return 'baseModal';
},
recordId: function () {
//var doc = Values.findOne(this.data().id);
//if (doc) return doc.value;
return this.data().id;
},
events: function () {
return [{
'change .searchInput': this.onChange,
'click input': this.onClick
}];
},
onClick: function (event) {
},
onChange: function (event) {
}
}).register('BaseModal');
So far, hasn't needed it. https://github.com/awatson1978/clinical-modals
https://github.com/peerlibrary/meteor-blaze-components/tree/master/example/client http://components.meteor.com/