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

Function resolveTransition

static/vuejs/vue.js:6188–6203  ·  view source on GitHub ↗
(def$$1)

Source from the content-addressed store, hash-verified

6186/* */
6187
6188function resolveTransition (def$$1) {
6189 if (!def$$1) {
6190 return
6191 }
6192 /* istanbul ignore else */
6193 if (typeof def$$1 === 'object') {
6194 var res = {};
6195 if (def$$1.css !== false) {
6196 extend(res, autoCssTransition(def$$1.name || 'v'));
6197 }
6198 extend(res, def$$1);
6199 return res
6200 } else if (typeof def$$1 === 'string') {
6201 return autoCssTransition(def$$1)
6202 }
6203}
6204
6205var autoCssTransition = cached(function (name) {
6206 return {

Callers 2

enterFunction · 0.70
leaveFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected