Skip to content

Commit

Permalink
n55_caro_decl_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
neodigm committed Jul 8, 2023
1 parent 369a43e commit 5e5ccb2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
30 changes: 29 additions & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,36 @@ <h6 class="hd4 h-center">Pending Activity</h6>
</nav>
<hr data-n55-theme="danger" data-n55-size="medium">

<hr data-n55-theme="info" data-n55-size="medium">
<hr data-n55-theme="warning" data-n55-size="large">

<neodigm-carousel id="js-caro-test">
<section>
<section>
<h6>Page Tab Region 1</h6>
<a data-n55-carousel-nav='{"id": "js-caro-test", "nav": "next"}'>next</a>
<a data-n55-carousel-nav='{"id": "js-caro-test", "nav": 3}'>2.4</a>
<a data-n55-carousel-nav='{"id": "js-caro-test", "nav": "prev"}'>prev</a>
</section>
<section>
<h6>Page Tab Region 2</h6>
<a data-n55-carousel-nav='{"id": "js-caro-test", "nav": "next"}'>next</a>
<a data-n55-carousel-nav='{"id": "js-caro-test", "nav": "prev"}'>prev</a>
</section>
</section>
</neodigm-carousel>

<hr data-n55-theme="warning" data-n55-size="large">


<nav class="h-center">
<neodigm-acticon data-n55-theme="ghost" data-n55-size="xsmall"
QQQonclick= 'neodigmCarousel.nav( {"id": "js-caro-test", "nav": "loop"} ); neodigmWired4Sound.sound( 10 );'
data-n55-carousel-nav='{"id": "js-caro-test", "nav": "loop"}'
data-n55-tulip='{"msg":"Play Next","mrq":false,"tmpt":"","theme":"ghost","size":"small","position":"bottom","icon":""}'>
<neodigm-icon class="material-symbols-outlined">play_arrow</neodigm-icon>
</neodigm-acticon>
<br>

<neodigm-acticon data-n55-theme="info" data-n55-size="xsmall" data-n55-tulip='{"msg":" WHITE theme, border and color stay white, even when AMPM changes. ","mrq":true,"tmpt":"","theme":"white","size":"xsmall","position":"top","icon":""}'><neodigm-icon class="material-symbols-outlined">search</neodigm-icon></neodigm-acticon>
<neodigm-acticon data-n55-theme="brand" data-n55-size="small" data-n55-tulip='{"msg":" GHOST theme, recognizes AMPM becomiing nagative. ","mrq":true,"tmpt":"","theme":"ghost","size":"small","position":"top","icon":""}'><neodigm-icon class="material-symbols-outlined">search</neodigm-icon></neodigm-acticon>
<neodigm-acticon data-n55-theme="brand" data-n55-size="medium" data-n55-tulip='{"msg":"medium|ghost","mrq":false,"tmpt":"","theme":"ghost","size":"medium","position":"right","icon":""}'><neodigm-icon class="material-symbols-outlined">search</neodigm-icon></neodigm-acticon>
Expand Down
2 changes: 1 addition & 1 deletion dist/neodigm55__v3_0.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ class NeodigmCarousel {
let bCarsl = ("n55CarouselNav" in ev?.target?.dataset) || ("n55CarouselNav" in ev?.srcElement?.parentNode?.dataset)
if( bCarsl ){
let sId = ev?.target?.id || ev?.srcElement?.parentNode?.id || "add_id"
let oNav = JSON.parse( ev.target.dataset.n55CarouselNav )
let oNav = JSON.parse( ev.target?.dataset?.n55CarouselNav || ev?.srcElement?.parentNode?.dataset?.n55CarouselNav )
neodigmCarousel.nav( {id: oNav.id, nav: oNav.nav} )
if( neodigmOpt.N55_GTM_DL_CARSL ) neodigmUtils.doDataLayer( neodigmOpt.N55_GTM_DL_CARSL, sId )
}
Expand Down

0 comments on commit 5e5ccb2

Please sign in to comment.