Simple macro:

(Check to make sure that links contain employee number)

Alan Allen update delete
Bob Brown update delete
Cathy Cameron update delete

Using data-dojo-attach-event, data-dojo-attach-point

XXXXXX
XXXXXX

Extending another widget

HideButton2 extends HideButton (above) and changes the template (but keeps the onclick handler).

YYYYYY YYYYYY

Using dojo/method:

thinger blah stuff blah

 
25%

baz thud (created via custom postCreate)

thinger blah stuff thinger

 
37%

baz thud (created via custom postCreate)

Using dojo/aspect:

thinger blah stuff blah

 
25%

baz thud (modified by dojo/aspect method=startup)

thinger blah stuff thinger

 
37%

baz thud (modified by dojo/aspect method=startup)

data-dojo-attach-event on root node

click me