docs(): update examples

This commit is contained in:
mhartington
2018-06-14 11:46:38 -04:00
parent ad3538d089
commit 04e807f459
29 changed files with 748 additions and 402 deletions

View File

@ -7,16 +7,16 @@ async function presentModal() {
// create component to open
const element = document.createElement('div');
element.innerHTML = `
<ion-header>
<ion-toolbar>
<ion-title>Super Modal</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<h1>Content of doom</h1>
<div>Here's some more content</div>
<ion-button class="dismiss">Dismiss Modal</ion-button>
</ion-content>
&lt;ion-header&gt;
&lt;ion-toolbar&gt;
&lt;ion-title&gt;Super Modal&lt;/ion-title&gt;
&lt;/ion-toolbar&gt;
&lt;/ion-header&gt;
&lt;ion-content&gt;
&lt;h1&gt;Content of doom&lt;/h1&gt;
&lt;div&gt;Here's some more content&lt;/div&gt;
&lt;ion-button class="dismiss"&gt;Dismiss Modal&lt;/ion-button&gt;
&lt;/ion-content&gt;
`;
// listen for close event