From 60137fb4fb8ed73659e4de1879c53f22914ee417 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 1 Feb 2023 19:46:56 +0100 Subject: [PATCH] support icoclass_end in Label and Button HTML attribute --- d.ts/antos.d.ts | 12 ++++++++++++ src/core/tags/ButtonTag.ts | 9 +++++++++ src/core/tags/LabelTag.ts | 9 +++++++++ 3 files changed, 30 insertions(+) diff --git a/d.ts/antos.d.ts b/d.ts/antos.d.ts index 867b285..7960d26 100644 --- a/d.ts/antos.d.ts +++ b/d.ts/antos.d.ts @@ -5548,6 +5548,12 @@ declare namespace OS { * @memberof LabelTag */ set iconclass(v: string); + /** + * Set the CSS class of the label icon on the right side + * + * @memberof LabelTag + */ + set iconclass_end(v: string); /** * Set the CSS class of the label icon on the right side * @@ -6644,6 +6650,12 @@ declare namespace OS { * @memberof ButtonTag */ set iconclass$(v: string); + /** + * Set the CSS class of the label icon on the right side + * + * @memberof ButtonTag + */ + set iconclass_end(v: string); /** * Setter: Set the text of the button * diff --git a/src/core/tags/ButtonTag.ts b/src/core/tags/ButtonTag.ts index c480a14..2d78096 100644 --- a/src/core/tags/ButtonTag.ts +++ b/src/core/tags/ButtonTag.ts @@ -92,6 +92,15 @@ namespace OS { (this.refs.label as LabelTag).iconclass$ = v; } + /** + * Set the CSS class of the label icon on the right side + * + * @memberof ButtonTag + */ + set iconclass_end(v: string) { + this.iconclass$ = v; + } + /** * Setter: Set the text of the button * diff --git a/src/core/tags/LabelTag.ts b/src/core/tags/LabelTag.ts index 781fd71..4d88716 100644 --- a/src/core/tags/LabelTag.ts +++ b/src/core/tags/LabelTag.ts @@ -157,6 +157,15 @@ namespace OS { } } + /** + * Set the CSS class of the label icon on the right side + * + * @memberof LabelTag + */ + set iconclass_end(v: string) { + this.iconclass$ = v; + } + /** * Set the CSS class of the label icon on the right side *