[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 YUI.add('gallery-sm-treeview-templates', function (Y, NAME) { 2 3 var Micro = Y.Template.Micro; 4 5 Y.namespace('TreeView').Templates = { 6 children: Micro.compile( 7 '<ul class="<%= data.classNames.children %>" ' + 8 9 '<% if (data.node.isRoot()) { %>' + 10 'role="tree" tabindex="0"' + 11 '<% } else { %>' + 12 'role="group"' + 13 '<% } %>' + 14 15 '></ul>' 16 ), 17 18 node: Micro.compile( 19 '<li id="<%= data.node.id %>" class="<%= data.nodeClassNames.join(" ") %>" role="treeitem" aria-labelled-by="<%= data.node.id %>-label">' + 20 '<div class="<%= data.classNames.row %>" data-node-id="<%= data.node.id %>">' + 21 '<span class="<%= data.classNames.indicator %>"><s></s></span>' + 22 '<span class="<%= data.classNames.icon %>"></span>' + 23 '<span id="<%= data.node.id %>-label" class="<%= data.classNames.label %>"><%== data.node.label %></span>' + 24 '</div>' + 25 '</li>' 26 ) 27 }; 28 29 30 }, 'gallery-2013.03.27-22-06', {"requires": ["template-micro"]});
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |