data-sly-resource attributes
I have just come across this URL which briefs about the sightly syntax. But I am still not clear with some of the attributes that could be used along with data-sly-resource. Could you please explain the use cases for these options.
Reference URL: http://stackoverflow.com/questions/27583326/expression-option-sightly
- selectors: To replace the selectors.
- addSelectors: To add selectors.
- removeSelectors: To remove selectors.
- resourceType: To define or change the resource type (only needed if not already defined as needed on the content node).