This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"log": { | |
"version": "1.2", | |
"creator": { | |
"name": "Firefox", | |
"version": "72.0.1" | |
}, | |
"browser": { | |
"name": "Firefox", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<InputAdd></InputAdd> | |
<List></List> | |
<script> | |
import InputAdd from './InputAdd.html' | |
import List from './List.html' | |
import { Store } from 'svelte/store.js'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input bind:value='newTodo' placeholder='buy milk'> | |
<button on:click='push("$todos", newTodo)'>add todo</button> | |
<ul> | |
{{#each $todos as todo, i}} | |
<li> | |
<button on:click='splice("$todos", i, 1)'>x</button> | |
{{todo}} | |
</li> | |
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input bind:value='newTodo' placeholder='buy milk'> | |
<button on:click='push("todos", newTodo)'>add todo</button> | |
<ul> | |
{{#each todos as todo, i}} | |
<li> | |
<button on:click='splice("todos", i, 1)'>x</button> | |
{{todo}} | |
</li> | |
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input bind:value='newTodo' placeholder='buy milk'> | |
<button on:click='push("todos", newTodo)'>add todo</button> | |
<ul> | |
{{#each todos as todo, i}} | |
<li> | |
<button on:click='splice("todos", i, 1)'>x</button> | |
{{todo}} | |
</li> | |
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input bind:value='newTodo' placeholder='buy milk'> | |
<button on:click='push("$todos", newTodo)'>add todo</button> | |
<ul> | |
{{#each ( $todos || [] ) as todo, i}} | |
<li> | |
<button on:click='splice("$todos", i, 1)'>x</button> | |
{{todo}} | |
</li> | |
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ractive-decorators-bootstrap-select | |
============================================= | |
Integrate Ractive with Bootstrap Select | |
========================== | |
Usage: Include this file on your page below Ractive, e.g: |