Skip to content

Commit

Permalink
Merge pull request #25 from milafrerichs/add-more-controls
Browse files Browse the repository at this point in the history
feat: add ability to toggle content
  • Loading branch information
milafrerichs authored Jul 25, 2019
2 parents 860f377 + 959b5e0 commit daf03c5
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 23 deletions.
2 changes: 2 additions & 0 deletions example/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@
import Tutorials from '../src/Tutorials.svelte';
let chapters = [
{
title: 'Entry',
content: 'Test',
code: 'document.body.innerHTML = "Test";',
solution: 'document.body.innerHTML = "Solution";',
viewOnly: true
},
{
title: '1: Test',
content: 'Test 2',
code: 'document.body.innerHTML = "Test 2";',
solution: 'document.body.innerHTML = "Solution 2";console.log("Test")'
Expand Down
Loading

0 comments on commit daf03c5

Please sign in to comment.