example8_behavior_modification - special options to modify tag behavior (_nobrout, _nobrin , _noslfcls, no options)
_nobrout:true
- Turn off newlines (and all whitespace) around this tag; defaultfalse
_nobrin:true
- Turn off newlines (and all whitespace) inside this tag; defaultfalse
_noslfcls:true
- Do not allow tag to be self-closing (forces<tag></tag>
instead of<tag/>
); defaultfalse
- no options - if no options are given (i.e., the first paramer is not a plain object) then
{}
is assumed
To Notice: A few special attribute options are available to add some fine-grained control over the html output, when you need it. You even have option to supply no options. Look at the Source Code and you'll see what I mean.
next: example9_inheritance top: all js examples