```haxe private override function set_text(val...
# haxe-ui
b
Copy code
haxe
    private override function set_text(value:String):String {
        this.width = null;
        this.height = null;
        this.element.style.removeProperty("width");
        this.element.style.removeProperty("height");
        this.element.innerHTML = value;
        if (isReady) {
            MathJax.typeset();
            this.invalidateComponentLayout();
        }
        return super.set_text(value);
    }