MCPcopy Create free account
hub / github.com/TruthHun/BookStack / extractTransitionData

Function extractTransitionData

static/vuejs/vue.runtime.js:6465–6479  ·  view source on GitHub ↗
(comp)

Source from the content-addressed store, hash-verified

6463}
6464
6465function extractTransitionData (comp) {
6466 var data = {};
6467 var options = comp.$options;
6468 // props
6469 for (var key in options.propsData) {
6470 data[key] = comp[key];
6471 }
6472 // events.
6473 // extract listeners and pass them directly to the transition methods
6474 var listeners = options._parentListeners;
6475 for (var key$1 in listeners) {
6476 data[camelize(key$1)] = listeners[key$1];
6477 }
6478 return data
6479}
6480
6481function placeholder (h, rawChild) {
6482 return /\d-keep-alive$/.test(rawChild.tag)

Callers 1

vue.runtime.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected