arcanus55 / neodigm55

An eclectic low-code vanilla JavaScript UX micro-library for those that defiantly think for themselves.
https://thescottkrause.com/emerging_tech/neodigm55_ux_library/
BSD 3-Clause "New" or "Revised" License
17 stars 2 forks source link

Neodigm Carousel | The life cycle events should support named panels (pages). #93

Closed neodigm closed 6 months ago

neodigm commented 11 months ago

Like this:

neodigmCarousel.setOnAfterNav( function(){neodigmToast.q('hello', 'warning');},'js-caro-main', "home" )

The documentation is accurate, but could be clearer, about the id param. It's inconsistent with other DOM style queries, so maybe explain that.

neodigm commented 11 months ago

Additionally, the values returned should include a name, if it exists. For example:

neodigmCarousel.setOnAfterNav( ( sId, nPage, sName )=>{}, "my-caro" )

UPDATE: This portion has been fixed.

neodigm commented 6 months ago

This task is complete in v3.1. The wiki and the landing page roller have been updated.