clickable_object.js | |
bbop. | BBOP object to produce a clickable image or a clickable text span, both producing something that can give its id for later clickable actions. |
Functions | |
clickable_object | Generator for a clickable object. |
BBOP object to produce a clickable image or a clickable text span, both producing something that can give its id for later clickable actions.
This is a method, not a constructor.
Functions | |
clickable_object | Generator for a clickable object. |
bbop.widget.display.clickable_object = function( label, source, id )
Generator for a clickable object.
TODO: May eventually expand it to include making a jQuery button.
label | [optional] the text to use for the span or label (defaults to ‘’) |
source | [optional] the URL source of the image (defaults to ‘’) |
id | [optional] the id for the object (defaults to generate_id: true) |
bbop.html.span or bbop.html.image
Generator for a clickable object.
bbop.widget.display.clickable_object = function( label, source, id )