fix(ivy): fix generated code for style bindings with units (#26397)

PR Close #26397
This commit is contained in:
Pawel Kozlowski
2018-10-11 14:06:23 +02:00
committed by Miško Hevery
parent bd186c7ef9
commit 4b494f23f5
3 changed files with 50 additions and 12 deletions

View File

@ -1687,8 +1687,6 @@ export function elementStylingApply<T>(index: number): void {
* specifically for element styling--the index must be the next index after the element
* index.)
* @param styleIndex Index of the style property on this element. (Monotonically increasing.)
* @param styleName Name of property. Because it is going to DOM this is not subject to
* renaming as part of minification.
* @param value New value to write (null to remove).
* @param suffix Optional suffix. Used with scalar values to add unit such as `px`.
* Note that when a suffix is provided then the underlying sanitizer will