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

Can we use/make attached/detached method inside aurelia custom element? #769

Open
SalkiDixit opened this issue Mar 20, 2020 · 3 comments
Open

Comments

@SalkiDixit
Copy link

I want to make custom element with attached/detached methods.
Is it a right way to add these methods inside custom element?

@bigopon
Copy link
Member

bigopon commented Mar 20, 2020

@SalkiDixit you mean is it valid to have this:

export class MyCustomElement {
  attached() {

  }

  detached() {

  }
}

If so, yes it is valid

@bigopon
Copy link
Member

bigopon commented Mar 20, 2020

@SalkiDixit please use Discourse (https://discourse.aurelia.io) for questions, you will find an amazingly active community there to help you with many questions, fast. Here it will be slower and we kind of don't support questions here. Alternatively, you can go for stackoverflow as well.

@SalkiDixit
Copy link
Author

@bigopon Thanks, Sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants