Skip to content

bahrus/be-listening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

be-listening [TODO]

be-listening specializes in one scenario supported by be-linked:

Instead of:

<my-light-weight-container>
    <number-generator></number-generator>
    <metric-units enh-be-linked='
        On value changed event of previous element sibling pass value property to cm property of $0
        where we enable debugging
        and we fire changed event
        and we nudge previous element
        and we skip initialization. 
    '></metric-units>
</my-light-weight-container

we can do:

<my-light-weight-container>
    <number-generator></number-generator>
    <metric-units 
        enh-be-listening='to number-generator for value-changed event and copy value to cm.'
        enh-be-listening-config='{
            "skipInitialization": true,
            "nudge": true,
            "fire": "change",
            "capture": false,
            "once": true
        }'
    >
    </metric-units>
</my-light-weight-container

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published