Skip to content

Commit eba5883

Browse files
ruioliveirasperrygovier
authored andcommitted
docs(modal): note angular template syntax regarding inline templates
1 parent 6f42432 commit eba5883

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

js/angular/service/modal.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111
*
1212
* Put the content of the modal inside of an `<ion-modal-view>` element.
1313
*
14-
* Note: a modal will broadcast 'modal.shown', 'modal.hidden', and 'modal.removed' events from its originating
14+
* **Notes:**
15+
* - A modal will broadcast 'modal.shown', 'modal.hidden', and 'modal.removed' events from its originating
1516
* scope, passing in itself as an event argument. Both the modal.removed and modal.hidden events are
1617
* called when the modal is removed.
1718
*
19+
* - This example assumes your modal is in your main index file or another template file. If it is in its own
20+
* template file, remove the script tags and call it by file name.
21+
*
1822
* @usage
1923
* ```html
2024
* <script id="my-modal.html" type="text/ng-template">

0 commit comments

Comments
 (0)