Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
6eDesign committed Dec 12, 2018
1 parent a16e7f5 commit aa994bd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/test.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<body>
<div class="container">
<h2>Testing usage without Svelte</h2>
<div style="display: inline-block" class="button-container">
<button id="test">Test button</button>
<div class="button-container">
<button id="test">My Custom Button</button>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/test.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/test.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/App.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ <h4>With Svelte:</h4>
</Datepicker>
</div>

<h4>Without Svelte:</h4>
<h4>Without Svelte HTML:</h4>
<pre><code class="html">
&lt;div class="button-container"&gt;
&lt;button id="test"&gt;My Custom Button&lt;/button&gt;
&lt;/div&gt;
</code></pre>

<h4>Without Svelte JS:</h4>
<pre><code class="js">
var trigger = document.getElementById('test');
var cal = new SvelteCalendar(&#123;
Expand All @@ -53,7 +54,7 @@ <h4>Without Svelte:</h4>
});
</code></pre>

<div>
<div class="text-center">
<Datepicker>
<button id="test">My Custom Button</button>
</Datepicker>
Expand Down

0 comments on commit aa994bd

Please sign in to comment.