toggleResourceBookmark

Description
Click here for more information.
Type
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)