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

Function extractTransitionData

static/vuejs/vue.js:6913–6927  ·  view source on GitHub ↗
(comp)

Source from the content-addressed store, hash-verified

6911}
6912
6913function extractTransitionData (comp) {
6914 var data = {};
6915 var options = comp.$options;
6916 // props
6917 for (var key in options.propsData) {
6918 data[key] = comp[key];
6919 }
6920 // events.
6921 // extract listeners and pass them directly to the transition methods
6922 var listeners = options._parentListeners;
6923 for (var key$1 in listeners) {
6924 data[camelize(key$1)] = listeners[key$1];
6925 }
6926 return data
6927}
6928
6929function placeholder (h, rawChild) {
6930 return /\d-keep-alive$/.test(rawChild.tag)

Callers 1

vue.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected