MCPcopy
hub / github.com/fanmingming/live / processElement

Function processElement

m3u8/vue.js:9936–9959  ·  view source on GitHub ↗
(
    element,
    options
  )

Source from the content-addressed store, hash-verified

9934 }
9935
9936 function processElement (
9937 element,
9938 options
9939 ) {
9940 processKey(element);
9941
9942 // determine whether this is a plain element after
9943 // removing structural attributes
9944 element.plain = (
9945 !element.key &&
9946 !element.scopedSlots &&
9947 !element.attrsList.length
9948 );
9949
9950 processRef(element);
9951 processSlotContent(element);
9952 processSlotOutlet(element);
9953 processComponent(element);
9954 for (var i = 0; i < transforms.length; i++) {
9955 element = transforms[i](element, options) || element;
9956 }
9957 processAttrs(element);
9958 return element
9959 }
9960
9961 function processKey (el) {
9962 var exp = getBindingAttr(el, 'key');

Callers 2

closeElementFunction · 0.85
preTransformNodeFunction · 0.85

Calls 6

processKeyFunction · 0.85
processRefFunction · 0.85
processSlotContentFunction · 0.85
processSlotOutletFunction · 0.85
processComponentFunction · 0.85
processAttrsFunction · 0.85

Tested by

no test coverage detected