question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After Render Event

See original GitHub issue

I want to use jQuery a lot with data binded lists, however, some jQuery selectors don’t work because Vue has not completed rendering the page. The nextTick also is not working for me.

Is there an event I can hook into that runs once the view has been completely rerendered?

BTW I have v-repeat inside of a v-repeat. The nextTick runs after the first v-repeat is rendered but not after the second. The DOM objects I care most about are in the second v-repeat.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bravfcommented, Jan 19, 2015

我也遇到了这种需求,能不能允许用户给v-repeat指定一个回调?

0reactions
yyx990803commented, May 28, 2015

Closing (inactivity)

Read more comments on GitHub >

github_iconTop Results From Across the Web

React "after render" code? - Stack Overflow
This method is called once after your component is rendered. So your code would look like so. var AppBase = React.createClass({ componentDidMount: ...
Read more >
React Hook to Run Code After Render - Dave Ceddia
The short answer is no, not really. useEffect is the only hook that is meant for tying in to the component lifecycle, and...
Read more >
Form.AfterRender event (Access) - Microsoft Learn
Occurs after the object represented by the chartObject argument has been rendered. Syntax. expression.AfterRender (drawObject, chartObject).
Read more >
Event afterrender | MoMo workshop - GitHub Pages
The afterrender event is being fired after a component is finally rendered (to the DOM) and is very often used if you want...
Read more >
Execute JavaScript after the React.js Render Method Completes
The render() takes care of the DOM elements and is invoked every time the component is mounted or updated. Thus ,any JavaScript that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found