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

Function extractTransitionData

static/vuejs/vue.common.js:6919–6933  ·  view source on GitHub ↗
(comp)

Source from the content-addressed store, hash-verified

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

Callers 1

vue.common.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected