Scotty Simpson
d53fd611f3
clarify autosubscription scope requirement ( #2653 )
6 years ago
Achim Vedam
3b244a6fde
Consistent sidebars 2641 ( #2642 )
...
* consistent sidebar tutorial
- added css-var for light sidebar-text for easy handling
- provide higher contrast for better readability in code and blockquotes
- push SHOW ME with higher contrast (on dark instead on white)
* minor fixes on opacities and color
* adjust sidebar-styles of docs and examples
closes #2641
6 years ago
Benjamin Milde
e73084b6af
Hint at the reactivity limitation of array methods in the api docs ( #2622 )
...
* Hint at the reactivity limitation of array methods in the api docs
* tweaks
6 years ago
raveling
511060ba94
improve referencing to code editor for mobile readers ( #2632 )
...
* improve referencing to code editor for mobile readers
The current documentation mentions "to the right" which is not accurate for people reading the tutorial on narrow-viewport devices.
I changed it to "the code editor", but this may be improved upon to match other more common references.
* typo
6 years ago
Emil Tholin
d419274afd
Narrow down checkbox transitions to background and left
6 years ago
pngwn
60e73c41dc
Document svelte/animate - flip.
6 years ago
pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
6 years ago
Luca Bonavita
211d86b4f8
Update the message in the popup we get when we login in the REPL
6 years ago
Luca Bonavita
8839951185
Site: REPL, use the gist or example title in the page title
...
Closes #2592
6 years ago
Luca Bonavita
55efa0e0b1
Site: REPL temp fix for the output pane does not receiving touch events on mobile & tablet
...
Applying this fix to make the site accessible on mobile again,
will remove when https://github.com/sveltejs/svelte-repl/issues/8 gets fixed and published
Fixes #2499 #2550
6 years ago
Luca Bonavita
788519b1c4
Site: use pure javascript slugification library
...
This library doesn't support languages but it has only 2 dependencies being free from native dependencies
Closes #2508
6 years ago
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
6 years ago
Vidar Tysse
1ba42435ac
Typo
6 years ago
Emil Tholin
eab763c386
Document how to remove a component.$on listener
...
This PR documents how `component.$on` returns a function that removes the event listener when called.
6 years ago
Luca Bonavita
cc4e5b3e31
Use comma as the separatore in the viewport content value.
...
It seems that semicolon is not supported by Android phones.
Problem is, we'll have to re-open #2551 as iOS doesn't support the comma... (eyeroll)
6 years ago
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
6 years ago
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
6 years ago
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
6 years ago
Rich Harris
4ee6284514
Merge pull request #2564 from sveltejs/ios-fix-2551
...
Site: set initial-scale=1.0 on the viewport
6 years ago
Eric Brookfield
1d61e48490
e.g. -> for example
...
*E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand.
Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected.
6 years ago
Luca Bonavita
1ad29d2a02
Site: set initial-scale=1.0 on the viewport
...
fixes #2551
6 years ago
Emil Nikov
a3378466d3
Update assets URL in the code snippet
...
The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
6 years ago
Rich Harris
2fdf7d4e91
Merge pull request #2554 from thollander/fix/mobile-docs-sidebar
...
Fix unusable docs sidebar in mobile
6 years ago
Rich Harris
de8d1a3bc2
Merge pull request #2529 from sveltejs/examples-loader-and-cache-2527
...
Site examples: add a cache and show a loading icon
6 years ago
Richard Harris
14ece6e789
simplify example further
6 years ago
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
6 years ago
Rich Harris
050de82b29
Merge branch 'master' into site/polka
6 years ago
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
6 years ago
Rich Harris
b111785184
Merge pull request #2523 from sw-yx/patch-1
...
[updating docs] update quick start instructions
6 years ago
Rich Harris
5b453ed569
Merge pull request #2524 from sveltejs/gh-2447
...
Move embedded REPL contents into examples
6 years ago
Rich Harris
fa3b7b0c65
Merge pull request #2526 from sidx1024/add-myorganisation-logo
...
Add Razorpay to WhosUsingSvelte
6 years ago
thollander
6941d63d7b
Fix unusable docs sidebar in mobile
...
- Puts the text color in mobile to var(--second)
- Fixes the scroll shadow on scrollbar
- Better size handling
6 years ago
thollander
93f7ecca1d
Don't show/hide nav when clicking in docs sidebar
...
- Listens to hashchange event
- Changes only the navbar visibilty when scroll not triggered by hashchange
Resolves #2456
6 years ago
thollander
adcd13f6dd
Fix the shadow in scrollbar of docs sidebar
6 years ago
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
6 years ago
Allan Tito
0d5c2466a7
Added comma
6 years ago
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
6 years ago
Luca Bonavita
ce5399a1de
Site examples: add a cache and show a loading icon
...
Add a loading icon I made in SVG: it uses SMIL animation so it might not be well supported on IE/Edge but I think Edge will be powered by Chromium pretty soon.
Also set the REPL orientation based on the width as discussed in #2466
Closes #2527
6 years ago
sidgo
c3905be8d8
Add Razorpay to WhosUsingSvelte
6 years ago
swyx
7b632182c3
update quick start instructions
...
since the front page links to this slightly out of date blogpost - i copied over and updated instructions so otherse wont be as confused as i was...
6 years ago
Conduitry
e49db5c65f
site: move write-less-code REPL embed into example
6 years ago
Conduitry
f2e1b0ea99
site: move svelte-css-in-js REPL embed into example
6 years ago
Conduitry
8fa676bfb0
site: in examples.json don't return sections with no title
6 years ago
Scotty Simpson
644c02eb54
is-admin => isAdmin
6 years ago
Scotty Simpson
1865710095
add multiple class toggles example
...
This answers the immediate question I had when I first saw the `class:foo` syntax.
6 years ago
Scotty Simpson
9268db7338
simpler, more efficient example
6 years ago
Conduitry
e7885f2cb1
site: more link fixes in blog posts
6 years ago
Gregor Aisch
2435c57f47
fix link to CSS in JS blog post
6 years ago
Jesse Wicks
57735d4982
fix tutorial link
6 years ago
Scotty Simpson
96e3df1c79
typo
...
I'm very helpful
6 years ago