I followed the Angular2 tutorial https://angular.io/docs/ts/latest/tutorial/toh-pt6.html and found the following input element syntax (in the "Add a hero" section) header:
<input #heroName />
This is supposed to be an attribute of an idelement input, but I could not find this syntax in the HTML5 specification ( https://www.w3.org/TR/html5/syntax.html#attributes-0 ).
id
input
Can anyone explain this syntax?
This does not apply to the html5 element id. It is strictly associated with angular2 and is a template reference variable .
, ,
hash (#) "phone" , .
"", " ".
Source: https://habr.com/ru/post/1658892/More articles:How to determine the weather the endpoint (KAA SDK) is connected to the KAA server or not from the application - kaaHow to iterate through a JSON file with multiple root elements using the Gson library in Java? - javaKDB / Q: Why did I get a length error when selecting data using a vector condition for a list of characters? - databaseWhere to get the encryption key for a Realm application in Swift - realmHow to update the file that I deployed in Firebase Hosting? - deploymentRDD in DataFrame in pyspark (columns from the first rdd element) - python-2.7android.app.RemoteServiceException Неверное уведомление отправлено - androidHow can I get Enum from char value? (C #) - enumsnavigator.geolocation.getCurrentPosition / watchPosition does not work in android 6.0 - javascriptJSON.NET Serialize DateTime.MinValue as null - c #All Articles