"let:" in NavBar #494
-
Hi, Excuse the dumb question, but I have never seen the syntax used in Navbar, where the hidden and toggle variables are set using "let:" in HTML. Is this a HTML, CSS or Svelte specific syntax?
Would be great to just understand this |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@deshartman There are no dumb questions! Only questions you don't ask are dumb questions.
|
Beta Was this translation helpful? Give feedback.
@deshartman There are no dumb questions! Only questions you don't ask are dumb questions.
let
is the Svelte'slet
directive.We use it when a parent component communicates with children components.