Merge pull request #4053 from NativeScript/fix-addChildFromBuilder

Fix missing private _addChildFromBuilder
This commit is contained in:
Vasil Chimev
2017-04-24 12:53:23 +03:00
committed by GitHub

View File

@ -73,8 +73,7 @@ export class TextBase extends View implements AddChildFromBuilder {
* Specify the top padding of this layout. * Specify the top padding of this layout.
*/ */
paddingTop: Length; paddingTop: Length;
//@private
/** /**
* Called for every child element declared in xml. * Called for every child element declared in xml.
* This method will add a child element (value) to current element. * This method will add a child element (value) to current element.
@ -84,6 +83,7 @@ export class TextBase extends View implements AddChildFromBuilder {
*/ */
_addChildFromBuilder(name: string, value: any): void; _addChildFromBuilder(name: string, value: any): void;
//@private
/** /**
* Called when the text property is changed to request layout. * Called when the text property is changed to request layout.
* @private * @private
@ -112,4 +112,4 @@ export const whiteSpaceProperty: CssProperty<Style, WhiteSpace>;
export const letterSpacingProperty: CssProperty<Style, number>; export const letterSpacingProperty: CssProperty<Style, number>;
//Used by tab view //Used by tab view
export function getTransformedText(text: string, textTransform: TextTransform): string; export function getTransformedText(text: string, textTransform: TextTransform): string;