• Home
  • Raw
  • Download

Lines Matching refs:key

58   [AST_KEY.ATTR]: function(dataContent, node, key) {  argument
64 [AST_KEY.CLASSLIST]: function(dataContent, node, key) { argument
65 dataContent += sortClass(node[key]);
68 [AST_KEY.STYLE]: function(dataContent, node, key) { argument
69 dataContent += sortStyle(node[key]);
72 [AST_KEY.EVENTS]: function(dataContent, node, key) { argument
76 [AST_KEY.KEY]: function(dataContent, node, key) { argument
77 dataContent += `'${KEY}' : ${node.key},`;
84 match: function(key, value) { argument
85 return key === SPECIAL_STYLE.ANIMATION_DELAY || key === SPECIAL_STYLE.ANIMATION_DURATION;
87 action: function(staticStyle, key, value) { argument
88 staticStyle += `'${key}' : ${JSON.stringify(value)},`;
93 match: function(key, value) { argument
94 return key === SPECIAL_STYLE.ANIMATION_ITERATION_COUNT;
96 action: function(staticStyle, key, value) { argument
100 staticStyle += `'${key}' : ${JSON.stringify(value)},`;
105 match: function(key, value) { argument
106 return key === SPECIAL_STYLE.BACKGROUND_IMAGE;
108 action: function(staticStyle, key, value) { argument
109 staticStyle += `'${key}' : ${checkType(value.replace(REGXP_QUOTES, ''))},`;
114 match: function(key, value) { argument
117 action: function(staticStyle, key, value) { argument
118 staticStyle += `'${key}' : ${checkType(value)},`;
126 optionRules[event] = function(dataContent, node, key) { argument
189 for (const key of Object.keys(node)) {
190 if (key !== AST_KEY.TYPE && key !== AST_KEY.CHILDREN) {
191 if (optionRules[key]) {
192 dataContent = optionRules[key](dataContent, node, key);
232 for (const key of Object.keys(props)) {
233 const value = props[key];
236 dynamicStyle += `'${key}' : ${formatForFunc(value)},`;
239 if (styleRules[i].match(key, value)) {
240 staticStyle = styleRules[i].action(staticStyle, key, value);
294 for (const key of Object.keys(props)) {
295 const propValue = props[key];
297 if (key === VALUE) {
299 propContent += `'${key}' : ${formatForFunc(props[key])},`;
301 propContent += `'${key}' : ${JSON.stringify(props[key])},`;
304 propContent += `'${key}' : ${checkType(props[key])},`;
318 for (const key of Object.keys(props)) {
319 if (isFunction(props[key])) {
324 eventContent += `'${key}' : ${formatForFunc(props[key])},`;
330 eventContent += `'${key}' : ${formatForString(props[key])},`;
366 parameterArray.push(node.repeat.key ? node.repeat.key : '$idx');