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

Function resolveTransition

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

Source from the content-addressed store, hash-verified

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

Callers 2

enterFunction · 0.70
leaveFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected