I'm still trying to bow my head around the reactive programming model in Meteor, so this is probably a dumb question, but:
Can I use a template system to retrieve data, rather than “embed” them as documented. That is, let's say I have a text area like
<textarea id="desc" rows="15" cols="80" > {{projectDescription}} </textarea>
Is it possible to access the project description field as a source of reactive data? I did not get anywhere from Template.project.projectDescription to REPL, but as I said, I am new to this game.
If what I propose is impossible, what is an idiomatic approach? For example, where would I put my
document.getElementById('desc').value
Is the event map on the template the way it was done? The essence of this is, say, to verify that the input is unique (server issue) or to make mkdn on the fly (how it happens, RIGHT NOW when I type ...). But basically, I'm trying to feel the Meteor.
source share