Skip to content

Commit

Permalink
FIXED: Addon: SGNAtom: Issue #86: SGNFullPage is not initialized when…
Browse files Browse the repository at this point in the history
… using SGNAtom
  • Loading branch information
SagnikGanguly96 committed Feb 14, 2023
1 parent e2722c1 commit 37778b0
Show file tree
Hide file tree
Showing 3 changed files with 385 additions and 151 deletions.
2 changes: 1 addition & 1 deletion demos/atom.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<body>
<div id="sgn-atom-root" sgnatom-home="atom.index.html"></div>
<script>
SGNUIKit.setOnReadyListener((isReady) => ((el) => SGNAtom.create(el).with('a', {resetHead: true, showErrors: true, interceptErrors: true}))('#sgn-atom-root'));
SGNUIKit.setOnInitListener((isReady) => ((el) => SGNAtom.create(el).with('a', {resetHead: true, showErrors: true, interceptErrors: true}))('#sgn-atom-root'));
</script>
</body>
</html>
6 changes: 1 addition & 5 deletions demos/atom.index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,13 @@
<div class="list-group-title">Addons</div>
<div class="list-view">
<a class="list-link" href="index.html">Default Indexing</a>
<a class="list-link" href="addons/fullpage.html">fullPage.js</a>
<a class="list-link" href="addons/fullpage.html">SGNFullPage</a>
</div>
</div>
</div>
<div class="card-footer jc-center">Copyright &copy; SGNetworks 2022. All rights reserved.</div>
</div>
</div>
</main>
<script>
console.log('well');
$(() => $('main').on('hover', () => console.log('well2')));
</script>
</body>
</html>
Loading

0 comments on commit 37778b0

Please sign in to comment.