_docs-v4/resource-display/resourceRender.md
A hook for manipulating a resource's DOM.
<div class='spec' markdown='1'> function( renderInfo ) </div>The renderInfo argument is an object with the following properties:
Example:
var calendar = new Calendar(calendarEl, {
resourceRender: function(renderInfo) {
renderInfo.el.style.backgroundColor = 'blue';
}
});
See an example of resourceRender with timeline view and with vertical resource view.
This callback will not allow manipulating of event elements, as they will not yet have been drawn at the time of invocation. Use eventRender for that.