I need to set attributes on the html tag or alternatively the body tag of the document in a Meteor.js application.
Specifically I want to have
Attributes for HTML tag can be set on startup by using WebApp.addHtmlAttributeHook function. Here is an example:
startup
WebApp.addHtmlAttributeHook
Meteor.startup(function() { WebApp.addHtmlAttributeHook(function() { return { "dir": "rtl" } }) });
Make sure you call this on server, not client.