Файловый менеджер - Редактировать - /home/harasnat/www/learning/lib/yuilib/gallery/gallery-sm-treeview-templates/gallery-sm-treeview-templates.js
Назад
YUI.add('gallery-sm-treeview-templates', function (Y, NAME) { var Micro = Y.Template.Micro; Y.namespace('TreeView').Templates = { children: Micro.compile( '<ul class="<%= data.classNames.children %>" ' + '<% if (data.node.isRoot()) { %>' + 'role="tree" tabindex="0"' + '<% } else { %>' + 'role="group"' + '<% } %>' + '></ul>' ), node: Micro.compile( '<li id="<%= data.node.id %>" class="<%= data.nodeClassNames.join(" ") %>" role="treeitem" aria-labelled-by="<%= data.node.id %>-label">' + '<div class="<%= data.classNames.row %>" data-node-id="<%= data.node.id %>">' + '<span class="<%= data.classNames.indicator %>"><s></s></span>' + '<span class="<%= data.classNames.icon %>"></span>' + '<span id="<%= data.node.id %>-label" class="<%= data.classNames.label %>"><%== data.node.label %></span>' + '</div>' + '</li>' ) }; }, 'gallery-2013.03.27-22-06', {"requires": ["template-micro"]});
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка