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

Function normalizeStyleBinding

static/vuejs/vue.js:6016–6024  ·  view source on GitHub ↗
(bindingStyle)

Source from the content-addressed store, hash-verified

6014
6015// normalize possible array / string values into Object
6016function normalizeStyleBinding (bindingStyle) {
6017 if (Array.isArray(bindingStyle)) {
6018 return toObject(bindingStyle)
6019 }
6020 if (typeof bindingStyle === 'string') {
6021 return parseStyleText(bindingStyle)
6022 }
6023 return bindingStyle
6024}
6025
6026/**
6027 * 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