Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
data-dialog-transbg is data-transbg in the JS
Browse files Browse the repository at this point in the history
(may want to standardize this later)
  • Loading branch information
Maggie Wachs committed Mar 22, 2018
1 parent 8a53d43 commit c8000ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/index.html
Expand Up @@ -106,9 +106,9 @@ <h2 class="docs">Modal and non-modal</h2>
}
</code></pre>

<p class="docs">You can also configure the background to be transparent via the dialog markup, by using the <code>data-dialog-transbg</code> attribute:</p>
<p class="docs">You can also configure the background to be transparent via the dialog markup, by using the <code>data-transbg</code> attribute:</p>

<pre class="docs"><code>&lt;div class="dialog" data-dialog-transbg&gt;Content here...&lt;/div&gt;
<pre class="docs"><code>&lt;div class="dialog" data-transbg&gt;Content here...&lt;/div&gt;
</code></pre>

<p class="docs">If you'd prefer to have no background element at all, you can use the <code>data-dialog-nobg</code> attribute:</p>
Expand Down

0 comments on commit c8000ef

Please sign in to comment.