You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/packages/svelte/messages/compile-errors/attributes.md

1.4 KiB

empty_attribute_shorthand

Attribute shorthand cannot be empty

duplicate_attribute

Attributes need to be unique

invalid_event_attribute_value

Event attribute must be a JavaScript expression, not a string

invalid_attribute_name

'%name%' is not a valid attribute name

animation_invalid_placement

An element that uses the animate: directive must be the only child of a keyed {#each ...} block

animation_missing_key

An element that uses the animate: directive must be the only child of a keyed {#each ...} block. Did you forget to add a key to your each block?

animation_duplicate

An element can only have one 'animate' directive

invalid_event_modifier

Valid event modifiers are %list%

invalid_component_event_modifier

Event modifiers other than 'once' can only be used on DOM elements

invalid_event_modifier_combination

The '%modifier1%' and '%modifier2%' modifiers cannot be used together

transition_duplicate

Cannot use multiple %type%: directives on a single element

transition_conflict

Cannot use %type%: alongside existing %existing%: directive

invalid_let_directive_placement

let: directive at invalid position

invalid_style_directive_modifier

Invalid 'style:' modifier. Valid modifiers are: 'important'

invalid_sequence_expression

Sequence expressions are not allowed as attribute/directive values in runes mode, unless wrapped in parentheses