Modals can be triggered on page load or when a button is clicked (i.e. confirmation screen).
Assumptions:
For V1, will not be implementing the home branch modal functionality. This will just be a simple pop-up that will trigger on page load or for confirmation screens.
Acceptance Criteria
As a content editor, I can:
- Add a modal to trigger on page load page using Layout Builder
- Add a modal to trigger on-click
As an anonymous site user, I can:
- View a modal display when a page is loaded
- View a modal display when a button is clicked if a modal is set up to be triggered on-click
Issue fork lb_modal-3328605
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- main
changes, plain diff MR !7 /
changes, plain diff MR !1 /
changes, plain diff MR !3 /
changes, plain diff MR !4 /
changes, plain diff MR !5 /
changes, plain diff MR !6
Comments
Comment #13
froboyComment #14
david-b commented