docs/vendor.js
function elementStyling(classDeclarations, styleDeclarations, styleSanitizer) {
    var lElement = currentElementNode;
    var tNode = lElement.tNode;
    if (!tNode.stylingTemplate) {
        // initialize the styling template.
        tNode.stylingTemplate =
            createStylingContextTemplate(classDeclarations, styleDeclarations, styleSanitizer);
    }
    if (styleDeclarations && styleDeclarations.length ||
        classDeclarations && classDeclarations.length) {
        elementStylingApply(tNode.index - HEADER_OFFSET);
    }
}
function elementStyling(classDeclarations, styleDeclarations, styleSanitizer) {
    var lElement = currentElementNode;
    var tNode = lElement.tNode;
    if (!tNode.stylingTemplate) {
        // initialize the styling template.
        tNode.stylingTemplate =
            createStylingContextTemplate(classDeclarations, styleDeclarations, styleSanitizer);
    }
    if (styleDeclarations && styleDeclarations.length ||
        classDeclarations && classDeclarations.length) {
        elementStylingApply(tNode.index - HEADER_OFFSET);
    }
}
function elementStyling ( classDeclarations , styleDeclarations , styleSanitizer ) { var lElement = currentElementNode ; var tNode = lElement . tNode ; if ( ! tNode . stylingTemplate ) { // initialize the styling template. tNode . stylingTemplate = createStylingContextTemplate ( classDeclarations , styleDeclarations , styleSanitizer ) ; } if ( styleDeclarations && styleDeclarations . length || classDeclarations && classDeclarations . length ) { elementStylingApply ( tNode . index - HEADER_OFFSET ) ; } }
Assign any inline style values to the element during creation mode.

This instruction is meant to be called during creation mode to apply all styling
(e.g. `style="..."`) values to the element. This is also where the provided index
value is allocated for the styling details for its corresponding element (the element
index is the previous index value from this one).

(Note this function calls `elementStylingApply` immediately when called.)


@param index Index value which will be allocated to store styling data for the element.
(Note that this is not the element index, but rather an index value allocated
specifically for element styling--the index must be the next index after the element
index.)
@param classDeclarations A key/value array of CSS classes that will be registered on the element.
Each individual style will be used on the element as long as it is not overridden
by any classes placed on the element by multiple (`[class]`) or singular (`[class.named]`)
bindings. If a class binding changes its value to a falsy value then the matching initial
class value that are passed in here will be applied to the element (if matched).
@param styleDeclarations A key/value array of CSS styles that will be registered on the element.
Each individual style will be used on the element as long as it is not overridden
by any styles placed on the element by multiple (`[style]`) or singular (`[style.prop]`)
bindings. If a style binding changes its value to null then the initial styling
values that are passed in here will be applied to the element (if matched).
@param styleSanitizer An optional sanitizer function that will be used (if provided)
to sanitize the any CSS property values that are applied to the element (during rendering).
Assign any inline style values to the element during creation mode .