1rosehip / 1rosehip/jplist

reload jplist in SPA

オープン
#253 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
435
フォーク
168
PR マージ指標
30日以内にマージされた PR はありません

説明

I am using jplist in a vue.js spa with store locator bundle.

it works like a charm when loading in the page directly but if user navigate to another page/route then come back again, the jplist instance still work there, google maps gone. I checked the 'hide /show map example', it uses google.map.event.trigger(instance, 'resize') to load the map back, but since spa destory DOMs while navigating, that map instance isn't exist when I came back to the store locator page.

So, is there any approach to let me reinitialize the map or the jplist it self each time entering the route ?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。