
committed by
Miško Hevery

parent
1ae77da609
commit
6ab5f3648a
@ -73,9 +73,8 @@ export function setUpAttributes(renderer: Renderer3, native: RElement, attrs: TA
|
||||
}
|
||||
} else {
|
||||
isProc ?
|
||||
(renderer as ProceduralRenderer3)
|
||||
.setAttribute(native, attrName as string, attrVal as string) :
|
||||
native.setAttribute(attrName as string, attrVal as string);
|
||||
(renderer as ProceduralRenderer3).setAttribute(native, attrName, attrVal as string) :
|
||||
native.setAttribute(attrName, attrVal as string);
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
@ -424,7 +424,7 @@ export function normalizeIntoStylingMap(
|
||||
|
||||
if (props) {
|
||||
for (let i = 0; i < props.length; i++) {
|
||||
const prop = props[i] as string;
|
||||
const prop = props[i];
|
||||
const newProp = normalizeProps ? hyphenate(prop) : prop;
|
||||
const value = allValuesTrue ? true : map ![prop];
|
||||
addItemToStylingMap(stylingMapArr, newProp, value, true);
|
||||
|
Reference in New Issue
Block a user