File tree
116 files changed
+448
-161
lines changed- content/tutorial
- 01-svelte
- 01-introduction
- 02-your-first-component
- 03-dynamic-attributes
- 04-styling
- 05-nested-components
- 02-reactivity
- 01-reactive-assignments
- 02-reactive-declarations
- 03-reactive-statements
- 04-updating-arrays-and-objects
- 03-props
- 01-declaring-props
- 02-default-values
- 03-spread-props
- 04-logic
- 01-if-blocks
- 02-else-blocks
- 03-else-if-blocks
- 04-each-blocks
- 05-keyed-each-blocks
- 06-await-blocks
- 05-events
- 01-dom-events
- 02-inline-handlers
- 03-event-modifiers
- 04-component-events
- 05-event-forwarding
- 06-dom-event-forwarding
- 06-bindings
- 01-text-inputs
- 02-numeric-inputs
- 03-checkbox-inputs
- 04-group-inputs
- 05-textarea-inputs
- 06-select-bindings
- 07-multiple-select-bindings
- 07-lifecycle
- 01-onmount
- 02-ondestroy
- 03-update
- 04-tick
- 08-stores
- 01-writable-stores
- 02-auto-subscriptions
- 03-readable-stores
- 04-derived-stores
- app-a/src/lib
- app-b/src/lib
- 05-custom-stores
- 06-store-bindings
- 02-sveltekit
- 02-routing/02-layouts
- 03-loading-data/01-page-data
- 04-forms
- 03-form-validation
- 04-progressive-enhancement
- 05-customizing-use-enhance
- 03-advanced-svelte
- 01-motion
- 01-tweens
- 02-springs
- 02-transitions
- 01-transition
- 02-adding-parameters-to-transitions
- 03-in-and-out
- 04-custom-css-transitions
- 05-custom-js-transitions
- 06-transition-events
- 07-local-transitions
- 08-key-blocks
- 09-deferred-transitions
- 03-animations/01-animate
- 04-actions
- 01-actions
- app-a/src/lib
- app-b/src/lib
- 02-adding-parameters-to-actions
- app-a/src/lib
- app-b/src/lib
- 05-bindings
- 01-contenteditable-bindings
- 02-each-block-bindings
- 03-media-elements
- 04-dimensions
- 05-bind-this
- 06-component-bindings
- app-a/src/lib
- app-b/src/lib
- 07-component-this
- app-a/src/lib
- app-b/src/lib
- 06-classes
- 01-classes
- 02-class-shorthand
- 07-composition
- 01-slots
- 02-slot-fallbacks
- app-a/src/lib
- 03-named-slots
- 04-optional-slots
- 05-slot-props
- 08-context/01-context-api
- 09-special-elements
- 01-svelte-self
- 02-svelte-component
- 03-svelte-element
- 04-svelte-window
- 05-svelte-window-bindings
- 06-svelte-document
- 07-svelte-body
- 08-svelte-head
- 09-svelte-options
- 10-svelte-fragment
- app-a/src/lib
- 10-module-context
- 01-sharing-code
- 02-module-exports
- app-a/src/lib
- app-b/src/lib
- 11-special-tags
- 01-debug
- 02-html-tags
- 04-advanced-sveltekit/05-environment-variables
- 01-env-static-private
- 03-env-static-public
- 04-env-dynamic-public
- src
- lib/server
- routes/tutorial/[slug]
- filetree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
116 files changed
+448
-161
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| 25 | + | |
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| 32 | + | |
30 | 33 |
| |
31 | 34 |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| 23 | + | |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
| |||
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
| 34 | + | |
32 | 35 |
| |
33 | 36 |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
| 19 | + | |
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
| 27 | + | |
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
| |||
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
| 31 | + | |
29 | 32 |
| |
30 | 33 |
| |
31 | 34 |
| |
| |||
34 | 37 |
| |
35 | 38 |
| |
36 | 39 |
| |
| 40 | + | |
37 | 41 |
| |
38 | 42 |
| |
39 | 43 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| 25 | + | |
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| 23 | + | |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| |||
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| 27 | + | |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| |||
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| 30 | + | |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
| 24 | + | |
22 | 25 |
| |
23 | 26 |
| |
24 | 27 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| 15 | + | |
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
|
0 commit comments