I'm still trying to grasp the concept of reactive programming in Meteor, so I have a question that may seem silly:
Instead of "injecting" data using the template system as documented, can I use it to extract data? For example, if I have a textarea like this:
<textarea id="desc" rows="15" cols="80" > {{projectDescription}} </textarea>
Is it possible to access the projectDescription field as a reactive data source directly? I tried Template.project.projectDescription at the REPL without success, but I'm new to this.
If my approach is not feasible, what is the recommended method? Where should I retrieve the
document.getElementById('desc').value
Should I use an event map on the template for this purpose? The goal is to validate inputs (server-side) or perform real-time Markdown conversions (like right now as I type). Overall, I am seeking to better understand Meteor.