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

Function extractTransitionData

static/vuejs/vue.runtime.common.js:6471–6485  ·  view source on GitHub ↗
(comp)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected