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

Function normalizeStyleBinding

static/vuejs/vue.runtime.common.js:5574–5582  ·  view source on GitHub ↗
(bindingStyle)

Source from the content-addressed store, hash-verified

5572
5573// normalize possible array / string values into Object
5574function normalizeStyleBinding (bindingStyle) {
5575 if (Array.isArray(bindingStyle)) {
5576 return toObject(bindingStyle)
5577 }
5578 if (typeof bindingStyle === 'string') {
5579 return parseStyleText(bindingStyle)
5580 }
5581 return bindingStyle
5582}
5583
5584/**
5585 * 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