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.

`ready` event not firing

See original GitHub issue

Description

Ready event not fired from l-map component.

Live Demo

https://jsfiddle.net/gulyamani/omvygLqp/6/

Steps to Reproduce

Open console, refresh the page

Expected Results

Seeing ready in console output

Actual Results

Not seeing ready in console output

Browsers Affected

  • Chrome
  • Firefox
  • Edge
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • Leaflet: v1.0.3
  • Vue: v2.5.16
  • Vue2Leaflet: v1.0.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DonNicoJscommented, Mar 23, 2020

@maratumba I need to fix the issue template as well 😄 here is a codesandbox: https://codesandbox.io/s/4hp6t

In the docs, each component has a demo code and a button to open codesanbox: https://vue2-leaflet.netlify.com/components/LMap.html#demo

0reactions
stale[bot]commented, May 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is $(document).ready not firing for me? - Stack Overflow
The most likely answer, based on what you have said, is that the core jQuery file is not actually included correctly in the...
Read more >
.ready() | jQuery API Documentation
The .ready() method offers a way to run JavaScript code as soon as the page's Document Object Model (DOM) becomes safe to manipulate....
Read more >
Why isn't DOM ready working for my scripts?
The pageinit event is triggered on a page when it is initialized, right after initialization occurs. Most of jQuery Mobile's official widgets auto-initialize ......
Read more >
Window: load event - Web APIs - MDN Web Docs - Mozilla
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets, scripts, iframes, and images.
Read more >
Ready event is not firing for Sign In Widget - Questions
oktaSignIn.on('ready', someFunc);. The okta sign in widget appears, but my someFunc is never called. This is pretty basic, so don't really see ...
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