We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27773e9 commit 1049fccCopy full SHA for 1049fcc
tns-core-modules/ui/core/view-base/view-base.ts
@@ -768,7 +768,11 @@ export abstract class ViewBase extends Observable implements ViewBaseDefinition
768
* Now attributes are expected to be set as plain properties on the view instances.
769
* @deprecated
770
*/
771
- public _applyXmlAttribute(): boolean {
+ public _applyXmlAttribute(attribute: string, value: string): boolean {
772
+ if (attribute === "style" || attribute === "rows" || attribute === "columns" || attribute === "fontAttributes") {
773
+ this[attribute] = value;
774
+ return true;
775
+ }
776
return false;
777
}
778
0 commit comments