Korbs / If Else Statement in Astro
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
1 | --- |
2 | var UserLogin = false |
3 | --- |
4 | |
5 | <!-- Use this method if the results only returns "true" or "false" --> |
6 | {UserLogin ? <p>Log Out</p> : <p>Sign in</p>} |
7 | |
8 | <!-- Use this method if the results return other results that are not labeled as "true" or "false --> |
9 | { |
10 | ()=> { |
Novější
Starší