Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Added beforeClose event to modal docs #188

Merged
merged 5 commits into from
Dec 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Documentation for SKY UX",
"engines": {
"node": ">=6.12.0"
"node": ">=6.11.1"
},
"scripts": {
"test": "skyux lint && skyux test && skyux e2e && skyux build"
Expand All @@ -12,11 +12,12 @@
"author": "Blackbaud, Inc.",
"license": "MIT",
"dependencies": {
"@blackbaud/skyux": "2.27.0",
"@blackbaud/stache": "2.12.0"
"@blackbaud/skyux": "2.34.0",
"@blackbaud/skyux-design-tokens": "0.0.8",
"@blackbaud/stache": "2.7.2"
},
"devDependencies": {
"@blackbaud/skyux-builder": "1.26.0"
"@blackbaud/skyux-builder": "1.30.0"
},
"repository": {
"type": "git",
Expand Down
6 changes: 5 additions & 1 deletion src/app/components/modal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
propertyName="providers"
>
An array property of <stache-code>providers</stache-code>. In Angular, a provider is something that can create or deliver a service. This property can be used to pass context values from the component that launches the modal to the modal component.
A
</sky-demo-page-property>
<sky-demo-page-property
propertyName="size"
Expand Down Expand Up @@ -118,6 +117,11 @@
</sky-demo-page-properties>

<sky-demo-page-properties sectionHeading="Modal instance events">
<sky-demo-page-property
propertyName="beforeClose"
>
An event that the modal instance emits when it is about to close. It emits a <stache-code>SkyModalBeforeCloseHandler</stache-code> object with a <stache-code>closeModal</stache-code> method that closes the modal. If a subscription exists for this event, the modal does not close until the subscriber calls the <stache-code>closeModal</stache-code> method.
</sky-demo-page-property>
<sky-demo-page-property
propertyName="closed"
>
Expand Down