You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse use: attributes in component markup and mark methods of that component with action flag.
Examples:
<script>
/**
* This method must be marked as an `action`
*/
function svelteActionTest(node) {
// ....
}
</script>
<!-- Must parse w/o issues -->
<div use:svelteActionTest>
</div>
<!-- Must parse w/o issues -->
<div use:svelteActionTest={{ id: 123 }}>
</div>
<!-- Must ignore this attribute -->
<Component use:svelteActionTest>
</div>
The text was updated successfully, but these errors were encountered:
Parse
use:
attributes in component markup and mark methods of that component withaction
flag.Examples:
The text was updated successfully, but these errors were encountered: