javascript - Meteor : Apply function to a value -


i'm starting learning meteor official tutorial (https://www.meteor.com/tutorials/blaze/templates).

i want use "createdat" value have on database. since value instance of date, want print day of insert using getday() function of date class.

my question : how :p mean, can directly on html file or must use smth function in our .js ?

thanks :)

you have write helper function template in js file parameters , call in html template {{helpername parameter}}


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -