Initial commit: проект документации YARU

This commit is contained in:
2026-03-01 17:32:45 +03:00
commit 243b5caf7e
860 changed files with 13239 additions and 0 deletions
@@ -0,0 +1,14 @@
Friends.CheckboxLabel = new function() {
this.prefix = 'CheckboxLabel-';
this.createFromTag = function(element, params) {
var checkbox = y5.Dom.getDescendant(element, '*', this.prefix + 'Checkbox');
var text = y5.Dom.getDescendant(element, '*', this.prefix + 'Text');
function check(e) {
checkbox.checked = (y5.Strings.trim(text.value).length > 0);
}
y5.Events.create('keyup', check, text, true);
};
}
y5.require(['Dom', 'Events', 'Strings'], function() {y5.loaded('{Friends}.CheckboxLabel')});