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
Luke Edwards
ae081af54c
Merge branch 'master' into site/polka
6 years ago
Luke Edwards
bc6e456574
chore: bump polka deps
6 years ago
Jon Ross
bf6bd36e38
Update alt text to clarify "shorthand attributes"
...
Alternatively, `alt="A man dancing"` could also be removed with no detrimental side effects IMO.
6 years ago
Luca Bonavita
2a76b8d383
site: API docs, transform section titles with the same processor used for content headers
6 years ago
Conduitry
d85de6791e
site: use master branch of template in svelte-app
6 years ago
Conduitry
e039cabbaa
site: fix another link ( #2497 )
6 years ago
Luca Bonavita
58531cbf49
Fix hash links in docs
...
- update links containing `docs#`
- pointing some links to the v2 branch
- for posterity, I've been looking also in markdown links containing an anchor using \[.+\]\(.+#.+\), derived from regexr.com/3e051 (1 found)
- Gitter -> Discord
Fixes #2470
6 years ago
rqrqrqrq
bda6aff09c
Docs fix ( #2488 )
6 years ago
Richard Harris
de153eff0f
surely this will fix it
6 years ago
Richard Harris
8c26471d00
fix gist icon in REPL
6 years ago
Richard Harris
bed7511bff
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
0e6b002573
work around transition bug
6 years ago
Achim Vedam
210ac8aa57
closes #2482
...
• fix missing :hover-state in TopNav
6 years ago