Skip to content

Support space-separated class binding expressions - #548

Merged
g105b merged 4 commits into
masterfrom
fix/488-multiple-class-bindings
Nov 7, 2026
Merged

g105b merged 4 commits into
masterfrom
fix/488-multiple-class-bindings

Conversation

@g105b

@g105b g105b commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Class bindings such as data-bind:class=":overweight :oversize" now bind each expression independently, including mixed colon, question mark and inverse modifiers. Existing semicolon-separated expressions and multiple class names for one key still work.

Regression tests cover both binding orders, pending expressions, data-rebind and mixed modifiers. Confirmed the tests fail before the fix; all 317 tests and static checks now pass.

Fixes #488.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@g105b
g105b merged commit 4995ae0 into master Nov 7, 2026
53 checks passed
@g105b
g105b deleted the fix/488-multiple-class-bindings branch November 7, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

data-bind:class should be able to bind multiple class names

1 participant