xhr
xhr object contains the following methods:
| Key | Value Type | Description |
|---|---|---|
toggleResourceBookmark | Function | Toggling the bookmark on resource can be done by clicking on the button shown above. Contains 2 parameters: 1. contentBlockId: can be found in window.GEVME.livepage.showcaseblocks 2. resourceId: can be found in content block object. Eg: window.GEVME.xhr.toggleResourceBookmark(contentBlockId, resourceId) |