Skip to content

Commit

Permalink
reflect selected tab on url route
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarcosfer committed Apr 18, 2022
1 parent 7b12e0e commit 8514301
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.address/1.6/jquery.address.min.js" integrity="sha512-Fhm8fcAQhENO1HmU1JjbnNm6ReszFIiJvkHdnuGZBznaaM6vakH4YEPO7v8M3PbGR03R/dur0QP5vZ5s4YaN7w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<style>
body {
display: flex;
Expand Down Expand Up @@ -214,7 +215,10 @@ <h1>Examples</h1>

<script>
$(document).ready(function () {
$('.menu .item').tab();
$('.ui.menu .item').tab({
history: true,
historyType: 'hash'
});
$('p.code-example-name').popup({
position: 'right center'
});
Expand Down

0 comments on commit 8514301

Please sign in to comment.