CartDrawer
CartDrawer(
__namedParameters):Element|null
The cart as a modal dialog: labelled, with focus inside it while it is open (Tab and Shift+Tab wrap), closed by Escape or the close button or a click outside, and focus handed back to
returnFocus (the cart button) when it closes. It shows the lines and totals and a link to the cart experience; with no cart link on the holder it carries the pay form itself.
It is drawn where it is placed (inside the header), not in a portal, so it keeps the page’s tokens and appearance.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”returnFocus?
Section titled “returnFocus?”RefObject<HTMLElement | null>
Returns
Section titled “Returns”Element | null