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

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World