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

How to run some init code after @dom component loaded to dom #53

Closed
jilen opened this issue Jul 6, 2017 · 1 comment
Closed

How to run some init code after @dom component loaded to dom #53

jilen opened this issue Jul 6, 2017 · 1 comment

Comments

@jilen
Copy link

jilen commented Jul 6, 2017

SO Link
Given a component

@dom 
def chart = {
  <canvas id="chartCanvas"><canvas>
}

How can I init the canvas with some chart library like chartjs when it is loaded to dom ?

@Atry
Copy link
Collaborator

Atry commented Jul 6, 2017

Not a bug

@Atry Atry closed this as completed Jul 6, 2017
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