pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/BodyCount/angular/commit/e5adf9296595644e415d5c147df08890be01ba77

crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> feat(core): stabilize `@let` syntax (#57813) · BodyCount/angular@e5adf92 · GitHub
Skip to content

Commit e5adf92

Browse files
crisbetopkozlowski-opensource
authored andcommitted
feat(core): stabilize @let syntax (angular#57813)
Removes the `@let` syntax from developer preview. PR Close angular#57813
1 parent 149d69e commit e5adf92

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

adev/src/content/guide/templates/variables.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Angular has two types of variable declarations in templates: local template vari
66

77
Angular's `@let` syntax allows you to define a local variable and re-use it across a template, similar to the [JavaScript `let` syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let).
88

9-
IMPORTANT: the `@let` syntax is currently in [Developer Preview](/reference/releases#developer-preview).
10-
119
### Using `@let`
1210

1311
Use `@let` to declare a variable whose value is based on the result of a template expression. Angular automatically keeps the variable's value up-to-date with the given expression, similar to [bindings](./bindings).

tools/manual_api_docs/blocks/let.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@developerPreview
2-
31
`@let` allows you to define a local variable and re-use it across the template.
42

53
## Syntax
@@ -14,7 +12,7 @@
1412
`@let` declarations are similar to [JavaScript's `let`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let) and
1513
their values can be any valid Angular expression. The expressions will be re-evaluated everytime the template is executed.
1614

17-
Similarly to javascript variables, variables declared `@let`, can be used:
15+
Similarly to JavaScript variables, variables declared with `@let`, can be used:
1816

1917
- After they have been declared
2018
- Within the bound of the same scope and nested scopes

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy