Run
Auto Run
define('my-app', class extends WeElement { popupShow = false onClose = (e) => { this.popupShow = false this.update() } onConfirm = (e) => { this.popupShow = false this.update() } showPopup = (e) => { this.popupShow = true this.update() } render(props, data) { return (
Show popup
Content
Content
Content
Content
) } }) render(
, 'body')