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

Function resolveTransition

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

Source from the content-addressed store, hash-verified

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

Callers 2

enterFunction · 0.70
leaveFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected