semantics
This commit is contained in:
@@ -41,8 +41,8 @@ Each Svelte file must follow this structure:
|
||||
*/
|
||||
import { ... } from "...";
|
||||
|
||||
// Exports (Props)
|
||||
export let prop_name = "...";
|
||||
// Props
|
||||
const { prop_name = "..." } = $props();
|
||||
|
||||
// Logic
|
||||
</script>
|
||||
@@ -72,4 +72,4 @@ Each Svelte file must follow this structure:
|
||||
* Ensure proper ARIA roles and keyboard navigation for interactive elements.
|
||||
* Use semantic HTML tags (`<nav>`, `<header>`, `<main>`, `<footer>`).
|
||||
|
||||
# [/DEF:Std:UI_Svelte]
|
||||
# [/DEF:Std:UI_Svelte:Standard]
|
||||
|
||||
Reference in New Issue
Block a user