MCPcopy Index your code
hub / github.com/TruthHun/BookStack / resolveTransition

Function resolveTransition

static/vuejs/vue.runtime.esm.js:5744–5759  ·  view source on GitHub ↗
(def$$1)

Source from the content-addressed store, hash-verified

5742/* */
5743
5744function resolveTransition (def$$1) {
5745 if (!def$$1) {
5746 return
5747 }
5748 /* istanbul ignore else */
5749 if (typeof def$$1 === 'object') {
5750 var res = {};
5751 if (def$$1.css !== false) {
5752 extend(res, autoCssTransition(def$$1.name || 'v'));
5753 }
5754 extend(res, def$$1);
5755 return res
5756 } else if (typeof def$$1 === 'string') {
5757 return autoCssTransition(def$$1)
5758 }
5759}
5760
5761var autoCssTransition = cached(function (name) {
5762 return {

Callers 2

enterFunction · 0.70
leaveFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected