Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
651 B
651 B
@let
The @let declaration is a template syntax feature that allows you to define local variables directly within an Angular template. It enables you to assign values to a variable name that can be reused throughout a specific section of the markup, which helps simplify complex expressions and improves code readability. These variables are immutable and scoped strictly to the template block where they are defined.
Visit the following resources to learn more: