return this.nativeNode.data;
},
+ setText: function(text) {
+ this.nativeNode.data = text;
+ },
+
appendText: function(text) {
this.nativeNode.data = this.nativeNode.data + text;
},
return new this.TextNodeFactory(nativeNode, this);
},
- loadXML: function(xml) {
+ loadXML: function(xml, options) {
+ options = options || {};
defineDocumentProperties(this, $(parseXML(xml)));
-
- this.trigger('contentSet');
+ if(!options.silent) {
+ this.trigger('contentSet');
+ }
},
toXML: function() {