cgkineo / adapt-pageNav

Navigation bar component (quicknav clone)
GNU General Public License v3.0
6 stars 4 forks source link

Update: padlock replaces icon when button locked (#58) #59

Closed kirsty-hames closed 8 months ago

kirsty-hames commented 8 months ago

Fixes https://github.com/cgkineo/adapt-pageNav/issues/58

Update

As per https://github.com/adaptlearning/adapt-contrib-vanilla/issues/446, locked disabled buttons should display a padlock icon.

Testing

Add example to the end of your page in component.json.

Enable course locking, e.g. "_lockType": "sequential" in course.json.

When page is incomplete, the 'Next' button is locked and padlock icon is displayed. next_page_locked

When page is complete, the 'Next' button is active and the default chevron icon is displayed. next_page_unlocked

github-actions[bot] commented 8 months ago

:tada: This PR is included in version 3.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: