Skip to content

on-display is not working with html5 #242

@hopewise

Description

@hopewise

In html5, at defaults.xml I've noticed that on-display is not working, however, on-change working fine:

on-display="PropsBinder.setCurrentField($this);"
on-create="$this.addEventListener(WidgetEvent.CHANGE, PropsBinder.OnPropertyChange);"

It seems that openfl.events.Event.ADDED_TO_STAGE is not working on html5?

I also tried:

on-create="$this.addEventListener(openfl.events.Event.ADDED_TO_STAGE, PropsBinder.setCurrentField);   $this.addEventListener(WidgetEvent.CHANGE, PropsBinder.OnPropertyChange);"

but didn't work..

versions:

lime: [3.3.0]
openfl: [4.2.0]
stablexui: [1.1.5]

$ haxe -version
3.3.0

it seems it's related to openfl?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions