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

Function resolveTransition

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

Source from the content-addressed store, hash-verified

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

Callers 2

enterFunction · 0.70
leaveFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected