Skip to content

docs: clarify class attribute usage in Svelte templates #1404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arif456
Copy link

@arif456 arif456 commented Jun 30, 2025

Clarified class attribute usage in Svelte templates.
Added a note explaining how to correctly combine multiple class expressions inside class={} to avoid sequence expression issues in Runes mode. Includes examples of valid and invalid patterns for clarity.

I am a kinda beginner-ish dev. It took me over an hour to really test and find out this problem. Adding this comment would help new devs save time. Thanks.

I am a kinda beginner-ish dev. It took me over an hour to really test and find out this problem. Adding this comment would help new devs save time. Thanks.
Copy link

vercel bot commented Jun 30, 2025

@arif456 is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@eltigerchino eltigerchino changed the title docs: Update index.md docs: clarify class attribute usage in Svelte templates Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy