juxscript 1.0.113 → 1.0.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48,6 +48,8 @@ export declare class ElementEngine extends BaseEngine<ElementState, ElementOptio
|
|
|
48
48
|
* Append raw HTML to existing content
|
|
49
49
|
*/
|
|
50
50
|
appendHtml(value: string): this;
|
|
51
|
+
/** @alias for content(value, 'text') */
|
|
52
|
+
text(value: string): this;
|
|
51
53
|
/**
|
|
52
54
|
* Receives RAW DOM events from the Skin and emits them to listeners.
|
|
53
55
|
*/
|
|
@@ -98,6 +98,10 @@ export class ElementEngine extends BaseEngine {
|
|
|
98
98
|
this.updateState({ content: current + value, contentType: 'html' });
|
|
99
99
|
return this;
|
|
100
100
|
}
|
|
101
|
+
/** @alias for content(value, 'text') */
|
|
102
|
+
text(value) {
|
|
103
|
+
return this.content(value, 'text');
|
|
104
|
+
}
|
|
101
105
|
/**
|
|
102
106
|
* Receives RAW DOM events from the Skin and emits them to listeners.
|
|
103
107
|
*/
|