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

Function resolveTransition

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

Source from the content-addressed store, hash-verified

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

Callers 2

enterFunction · 0.70
leaveFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected