Closed kirsty-hames closed 8 months ago
Fixes https://github.com/cgkineo/adapt-pageNav/issues/58
As per https://github.com/adaptlearning/adapt-contrib-vanilla/issues/446, locked disabled buttons should display a padlock icon.
Add example to the end of your page in component.json.
component.json
Enable course locking, e.g. "_lockType": "sequential" in course.json.
"_lockType": "sequential"
When page is incomplete, the 'Next' button is locked and padlock icon is displayed.
When page is complete, the 'Next' button is active and the default chevron icon is displayed.
:tada: This PR is included in version 3.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
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.
When page is complete, the 'Next' button is active and the default chevron icon is displayed.