Lines Matching +defs:name +defs:value

149 		// Mapping of lowercase -> real name (because HTML5 data-... attribute only supports lowercase)
283 name,
302 for (name in options) {
303 if (_hasProp(options, name)) {
304 src = target[name];
305 copy = options[name];
315 target[name] = _simpleDeepMerge(clone, copy);
318 target[name] = copy;
498 * @property {string} title Display name (may contain HTML)
516 var i, l, name, cl;
530 name = NODE_ATTRS[i];
531 this[name] = obj[name];
550 for (name in obj) {
552 !NODE_ATTR_MAP[name] &&
554 !_isFunction(obj[name])) &&
555 !NONE_NODE_DATA_MAP[name]
558 this.data[name] = obj[name];
723 * @param {string} className class name
830 var name,
835 for (name in patch) {
836 if (_hasProp(patch, name)) {
837 v = patch[name];
838 if (!IGNORE_MAP[name] && !_isFunction(v)) {
839 if (NODE_ATTR_MAP[name]) {
840 this[name] = v;
842 this.data[name] = v;
1195 for (var name in dict) {
1196 if (NODE_ATTR_MAP[name]) {
1198 this[name] = dict[name];
1199 } else if (name === "data") {
1203 !_isFunction(dict[name]) &&
1204 !NONE_NODE_DATA_MAP[name]
1207 this.data[name] = dict[name];
1349 * @param {string | function} [part="title"] node property name or callback
1432 * @param {string} className class name (separate multiple classes by space)
1963 * @param {string} className class name
2393 * @param {string} className class name (separate multiple classes by space)
2399 toggleClass: function (value, flag) {
2403 classNames = value.match(rnotwhite) || [],
2409 // this.info("toggleClass('" + value + "', " + flag + ")", curClasses);
2412 $(statusElem).toggleClass(value, flag);
2434 // this.info("-> toggleClass('" + value + "', " + flag + "): '" + this.extraClasses + "'");
2640 * @property {string} ariaPropName Property name of FancytreeNode that contains the element which will receive the aria attributes.
2649 * @property {string} nodeContainerAttrName Property name of FancytreeNode that contains the outer element of single nodes.
2653 * @property {string} statusClassPropName Property name of FancytreeNode that contains the element which will receive the status classes.
2814 _setExpiringValue: function (key, value, ms) {
2816 value: value,
2823 return entry.value;
2828 /* Check if this tree has extension `name` enabled.
2830 * @param {string} name name of the required extension
2832 _usesExtension: function (name) {
2833 return $.inArray(name, this.options.extensions) >= 0;
2839 * @param {string} name name of the required extension
2841 * @param {boolean} [before] `true` if `name` must be included before this, `false` otherwise (use `null` if order doesn't matter)
2844 _requireExtension: function (name, required, before, message) {
2848 var thisName = this._local.name,
2851 $.inArray(name, extList) < $.inArray(thisName, extList),
2852 isMissing = required && this.ext[name] == null,
2856 thisName && thisName !== name,
2857 "invalid or same name '" + thisName + "' (require yourself?)"
2867 name +
2878 name +
3086 /** Write to browser console if debugLevel >= 4 (prepending tree name)
3135 return !flag; // return previous value
3324 * // Generate input elements selected nodes, using a custom `name` attribute
3331 * @param {boolean | string} [selected=true] Pass false to disable, pass a string to override the field name (default: 'ft_ID[]')
3332 * @param {boolean | string} [active=true] Pass false to disable, pass a string to override the field name (default: 'ft_ID_active')
3366 name: activeName,
3367 value: this.activeNode.key,
3376 name: selectedName,
3377 value: node.key,
3420 * Return current option value.
3423 * @param {string} name option name (may contain '.')
3498 /** Write to browser console if debugLevel >= 3 (prepending tree name)
3813 * Set current option value.
3815 * @param {string} name option name (may contain '.')
3816 * @param {any} new value
3818 setOption: function (optionName, value) {
3819 return this.widget.option(optionName, value);
6182 * In this case `value`contains the complete, modified `dnd5` option hash.
6184 * if( value.scroll !== tree.options.dnd5.scroll ) {...}
6187 * @param {string} key option name
6188 * @param {any} value option value
6190 treeSetOption: function (ctx, key, value) {
6209 !!value
6217 if (value === false) {
6230 tree._callHook("treeLoad", tree, value);
6238 value +
6240 typeof value +
6246 this.widget._super.call(this.widget, key, value);
6252 value
6376 _deprecationWarning: function (name) {
6382 name +
6414 // _assert(!this.tree.options[extName], "Extension name must not exist as option name: " + extName);
6431 "Extension name must not exist as Fancytree.ext attribute: '" +
6494 _setOption: function (key, value) {
6499 value
7028 /** Return an option value that has a default, but may be overridden by a
7035 * Else if `tree.options.<optionName>` is a value, use that.
7038 * @param {string} optionName name of the option property (on node and tree)
7335 definition.name != null,
7336 "extensions must have a `name` property."
7342 $.ui.fancytree._extensions[definition.name] = definition;