Skip to content

Commit

Permalink
docs(limel-dialog and limel-collapsible-section): add limel-slider to…
Browse files Browse the repository at this point in the history
… hidden areas in examples

#192
  • Loading branch information
BregenzerK authored and adrianschmidt committed Nov 14, 2018
1 parent a841e6f commit d933eb5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/examples/collapsible-section/collapsible-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export class CollapsibleSectionExample {
@State()
private secondExampleIsOpen = false;

@State()
private percentage = 34;

public render() {
return [
<section>
Expand All @@ -33,7 +36,10 @@ export class CollapsibleSectionExample {
onClose={this.secondExampleOnClose.bind(this)}
>
<h5 slot="header">Click me or click the button</h5>
<p slot="body">Either way, the section will toggle!</p>
<p slot="body">
Either way, the section will toggle!
<limel-slider unit="%" value={this.percentage} />
</p>
</limel-collapsible-section>
</section>,
];
Expand Down
6 changes: 6 additions & 0 deletions src/examples/dialog/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ export class DialogExample {
@State()
private age: string;

@State()
private percentage = 45;

public render() {
return [
<section>
Expand Down Expand Up @@ -88,6 +91,9 @@ export class DialogExample {
}}
/>
</p>
<p>
<limel-slider unit="%" value={this.percentage} />
</p>
</form>
<limel-button-group class="reverse-order" slot="button">
<limel-button
Expand Down

0 comments on commit d933eb5

Please sign in to comment.