Badge
Badge instances are created by the Viewer when calling the method viewer.addBadge().
badge.setImage(blob)
blob: <Blob>
Sets the image of the badge.
badge.setOnClick(onClick)
onClick: <Function> | <null>
Sets the onClick callback of the badge.
badge.remove()
Removes the badge.