to see examples, take a look at how dojo view_helpers use options.
Bart petewilliams1983 schreef:
I'm trying to do exactly the same thing. So far the best solution I can come up with is to pass my custom options in via either the $attribs or $options arrays. You can then process those options within your view helper, and delete them from the array so that they aren't added to the element markup. However I'm pretty sure this isn't the best way of doing things. Pete