Hello,

I would like to access the current resource in the Sightly JavaScript Use-API. The docu [1] says I should for example use "granite.resource.properties["title"];" to access the "title" property of the current resource. But of course "granite" is not available in Sling. This is why I'm wondering what variable is available in Sling instead.

Thanks in advance for any hints,

Sandro

[1] - http://docs.adobe.com/docs/en/aem/6-0/develop/sightly/use-api-in-javascript.html

PS: There is no Sling docu for Sightly yet, right?

Reply via email to