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

Function extractTransitionData

static/vuejs/vue.esm.js:6917–6931  ·  view source on GitHub ↗
(comp)

Source from the content-addressed store, hash-verified

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

Callers 1

vue.esm.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected