Edit in GitHubLog an issue

footer

Since: UXP 3, PS 22.0.0

The <footer> element is used in dialogs to help align buttons to the right-side of a dialog. You aren't required to use this element, and you can override any styles if you so choose.

See: https://developer.mozilla.org/en/docs/Web/HTML/Element/footer

Example

Copied to your clipboard
1<dialog>
2 <form method="dialog">
3 <sp-heading>A heading</sp-heading>
4 <sp-divider size="large"></sp-divider>
5 <sp-body>Hello!</sp-body>
6 <footer>
7 <sp-button>Close</sp-button>
8 </footer>
9 </form>
10</dialog>
Copied to your clipboard
document.querySelector("dialog").uxpShowModal({size: {width: 480, height: 360}});
Copyright © 2021 Adobe. All rights reserved.