| Issue 269: | Allow customization of attribute to be used for node configuration when building from <ul> | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What new or enhanced feature are you proposing? Add code to allow customization of the attribute used for inline node confiugration when building from a <ul> inside a document. Currently, this is hard-coded to a 'data' attribute which is not valid HTML. I would rather be able to make use of a HTML5 data-* attribute. I've attached a patch that makes such a change possible. Each <ul> may declare a 'data-dynatree' attribute containing a JSON representation of an Object which may contain a nodeDataAttrName property that defines what attribute name should be checked on each <li> within the <ul>. To retain backwards compatibilty, should the data-dynatree not be present on any <ul>, the attribute name defaults to 'data'. What goal would this enhancement help you achieve? Standards compliance, configuration flexibility. Cheers, Mark.
Jan 26, 2013
(No comment was entered for this change.)
Labels:
Milestone-Release0.0
|
Mergedinto: 252