kaissaroj / newshunt

A Hybrid Social Mobile App Developed using MeteorJs & Framework7
http://newshunt.meteor.com/
23 stars 0 forks source link

meteor events parameters #1

Open joshua1 opened 9 years ago

joshua1 commented 9 years ago

Hi @kaissaroj really nice example of how to use F7 and meteor. i wish to know though what the "t" event parameter represents for example in template.events

'click #sendNews': function (e, t) {
    e.preventDefault();
    var latLng = Session.get("latLng");
    console.log(latLng);
    upp = Session.get('uploadedImage');
var tag=t.find('#tag').value

is it specific to F7?

kaissaroj commented 9 years ago

Hi Joshua, Thanks yo for your query. 't' parameter is not related with F7. It is pure meteorjs feature. t stands for template. For more information you may check the MeteorJs Doc http://docs.meteor.com/#/basic/Template-events

On Sun, Mar 15, 2015 at 11:10 PM, joshua Oguche notifications@github.com wrote:

Hi @kaissaroj https://github.com/kaissaroj really nice example of how to use F7 and meteor. i wish to know though what the "t" event parameter represents for example in template.events

'click #sendNews': function (e, t) { e.preventDefault(); var latLng = Session.get("latLng"); console.log(latLng); upp = Session.get('uploadedImage');

— Reply to this email directly or view it on GitHub https://github.com/kaissaroj/newshunt/issues/1.

Website: sarojsubedi.info.np About me: http://about.me/kais.mejad My blog: http://kais-learns-android.blogspot.com/ Follow me: https://twitter.com/kais_saroz Call in case of urgency at +977-9804197433

joshua1 commented 9 years ago

@kaissaroj thanks for the clarification. BR