flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [21/50] git commit: [flex-asjs] [refs/heads/develop] - add missing property
Date Thu, 25 Sep 2014 16:04:03 GMT
add missing property


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7dfcd3d6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7dfcd3d6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7dfcd3d6

Branch: refs/heads/develop
Commit: 7dfcd3d6b0b2353e73ca8253ad9a0bd5abf3e1e7
Parents: 45d6b4f
Author: Alex Harui <aharui@apache.org>
Authored: Tue Sep 23 09:40:47 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Sep 23 15:01:16 2014 -0700

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/html/Label.js   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7dfcd3d6/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js b/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js
index bf1b3ec..3670908 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/Label.js
@@ -59,3 +59,21 @@ org.apache.flex.html.Label.prototype.get_text = function() {
 org.apache.flex.html.Label.prototype.set_text = function(value) {
   this.element.innerHTML = value;
 };
+
+
+/**
+ * @expose
+ * @return {string} The html getter.
+ */
+org.apache.flex.html.Label.prototype.get_html = function() {
+    return this.element.innerHTML;
+};
+
+
+/**
+ * @expose
+ * @param {string} value The html setter.
+ */
+org.apache.flex.html.Label.prototype.set_html = function(value) {
+    this.element.innerHTML = value;
+};


Mime
View raw message