Skip to content

Commit ac7000e

Browse files
committed
maint(pat modal): Document panel-header-content.
1 parent 26b403d commit ac7000e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/pat/modal/documentation.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ This will load the page at `/status/server1`, extract the element with id `conte
1515

1616
You can customise the behaviour of modals through options in the `data-pat-modal` attribute.
1717

18-
| Property | Default value | Values | Description | Type |
19-
| ------------ | --------------- | ---------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
20-
| `class` | | | A class name to be applied to the modal. | String. |
21-
| `closing` |  "close-button" |  ["close-button", "outside"] | Show a "close" button for closing the modal, or let it be closed by clicking outside of the modal area. | One of the mutually exclusive available string values. |
22-
| `close-text` |  "Close" |   | Specify a custom string for the close button. | String. |
18+
| Property | Default value | Values | Description | Type |
19+
| ---------------------- | ----------------------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
20+
| `class` | | | A class name to be applied to the modal. | String. |
21+
| `closing` |  "close-button" |  ["close-button", "outside"] | Show a "close" button for closing the modal, or let it be closed by clicking outside of the modal area. | One of the mutually exclusive available string values. |
22+
| `close-text` |  "Close" |   | Specify a custom string for the close button. | String. |
23+
| `panel-header-content` |  `:first:not(.header)` | CSS selector or "none" | Specify a CSS selector which is used for the modal header. If set to "none" no header will be added automatically and you can provide your own. | String. |

0 commit comments

Comments
 (0)