Lines Matching refs:item
174 propsValue.forEach(item => {
175 if (typeof(item) !== 'string') {
177 '\n' + `The props value type should be 'string', not '${typeof(item)}' in props array in custom elements.` + 'warnEnd'});
179 propsObject[item] = { 'default': '' };
183 Object.keys(propsValue).forEach(item => {
184 if (Object.prototype.toString.call(propsValue[item]) !== '[object Object]') {
188 if (!propsValue[item].hasOwnProperty('default')) {
189 propsValue[item] = { 'default': '' }
201 Object.keys(actionsValue).forEach(item => {
202 if (actionsValue[item].method) {
203 if (typeof(actionsValue[item].method) === 'string') {
204 if (actionsValue[item].method.toLowerCase() !== actionsValue[item].method) {
206 '\n' + `WARNING: The key method '${actionsValue[item].method}' in the actions don't support uppercase letters.` + 'warnEnd'});
207 actionsValue[item].method = actionsValue[item].method.toLowerCase();
211 '\n' + `WARNING: The key method type in the actions should be 'string', not '${typeof(actionsValue[item].method)}'.` + 'warnEnd'});