Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Fixed layout #172

Merged
merged 1 commit into from
Nov 2, 2016
Merged
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
14 changes: 7 additions & 7 deletions ghdocs/components/Dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,17 @@ This component has only the default state.
</pre>


or add the following `<script>` tag to your page, below the references to Fabric's JS, to instantiate a single Dialog component on the page:
or add the following `<script>` tag to your page, below the references to Fabric's JS, to instantiate a single Dialog component on the page:


<pre>
<code>
&lt;script type&#x3D;&quot;text/javascript&quot;&gt;
<pre>
<code>
&lt;script type&#x3D;&quot;text/javascript&quot;&gt;
var DialogElement &#x3D; document.querySelector(&quot;.ms-Dialog&quot;);
var dialogComponent &#x3D; new fabric[&#x27;Dialog&#x27;](DialogElement);
&lt;/script&gt;
</code>
</pre>
</code>
</pre>

4. Verify that the component is working the same as in the sample above.
5. Replace the sample HTML content (such as the content of `.ms-Dialog-content`) with your content.
Expand All @@ -149,4 +149,4 @@ This component has only the default state.
This component has no dependencies on other components.

## Accessibility
More details will be added here.
More details will be added here.