Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: @Watch('theProp', { onLoad: true }) #3250

Open
3 tasks done
MrAntix opened this issue Feb 22, 2022 · 1 comment
Open
3 tasks done

feat: @Watch('theProp', { onLoad: true }) #3250

MrAntix opened this issue Feb 22, 2022 · 1 comment
Labels
Feature: Want this? Upvote it! This PR or Issue may be a great consideration for a future idea.

Comments

@MrAntix
Copy link
Contributor

MrAntix commented Feb 22, 2022

Prerequisites

Describe the Feature Request

The Watch decorator does not trigger on load as described in the documentation

previous issue
#2451

Describe the Use Case

Adding an option to allow this would be useful and help explain the behaviour for those medically apposed to reading documentation like myself

Describe Preferred Solution

add an optional options object to the constructor

@Watch('theProp', { onLoad: true })

leaves it open for other enhancements in the unlikely event they are needed

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Feb 22, 2022
@MrAntix MrAntix changed the title feat: @Watch('theProp', { onLoad: true}) feat: @Watch('theProp', { onLoad: true }) Feb 22, 2022
@rwaskiewicz rwaskiewicz added Feature: Enhancement Feature: Want this? Upvote it! This PR or Issue may be a great consideration for a future idea. and removed triage labels Feb 23, 2022
@rwaskiewicz
Copy link
Contributor

rwaskiewicz commented Feb 23, 2022

👋 I've labeled this feature request for folks to upvote with 👍's in the request summary!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Want this? Upvote it! This PR or Issue may be a great consideration for a future idea.
Projects
None yet
Development

No branches or pull requests

2 participants