Skip to content

[Bug] binding function to a property. #1424

Open
@tsonevn

Description

@tsonevn

When a function is set up to a property(e.g. Label's text property), the function will be executed twice. For example:
HTML

<Label [text]="testBinding()" textWrap="true"></Label>

TypeScript

   public testBinding(){
        console.log("testBinding"); 
        return "test test";
    }

Archive.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions