hobo-jquery icon indicating copy to clipboard operation
hobo-jquery copied to clipboard

Suggestion: add 'param' to <hjq-dialog-open-button> to allow passing id, class etc.

Open enwood opened this issue 13 years ago • 0 comments

The tag call inside tag would benefit from being a param so that id, class etc could be passed.

E.g.

DEFINITION: <% # we can't use jQuery traversal functions since the dialog will move around in the DOM %> <% attributes["id"]="hjq-dialog-#{(rand*1000000000).to_i}" unless attributes.has_key?("id") %>

USAGE: <hjq-dialog-open-button: id="..." class="..." />

enwood avatar Mar 11 '11 21:03 enwood