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

Function normalizeStyleBinding

static/vuejs/vue.runtime.esm.js:5572–5580  ·  view source on GitHub ↗
(bindingStyle)

Source from the content-addressed store, hash-verified

5570
5571// normalize possible array / string values into Object
5572function normalizeStyleBinding (bindingStyle) {
5573 if (Array.isArray(bindingStyle)) {
5574 return toObject(bindingStyle)
5575 }
5576 if (typeof bindingStyle === 'string') {
5577 return parseStyleText(bindingStyle)
5578 }
5579 return bindingStyle
5580}
5581
5582/**
5583 * parent component style should be after child's

Callers 2

normalizeStyleDataFunction · 0.70
updateStyleFunction · 0.70

Calls 1

toObjectFunction · 0.70

Tested by

no test coverage detected