Skip to content

Async function does not take affect #188

@hevilhuy

Description

@hevilhuy

This is the reproduce code:
let winbox = new WinBox(title,
{
html: rootElement.innerHTML,
onclose: async function (force)
{
return false;
},
}

If I change to the below then it works=

let winbox = new WinBox(title,
    {
        html: rootElement.innerHTML,
        onclose: function (force)
        {
            return false;
        },
     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions