Fix typos in "Tag Helpers in ASP.NET Core" (#24344)
parent
ddb5f798f9
commit
203d0d4a3d
|
@ -159,9 +159,9 @@ Consider writing an HTML `<label>` element. As soon as you enter `<l` in the Vis
|
|||
|
||||
![After typing "l" on the keyboard, IntelliSense suggests a list of possible tag names with "label" selected.](intro/_static/label.png)
|
||||
|
||||
Not only do you get HTML help, but the icon (the "@" symbol with "<>" under it).
|
||||
Not only do you get HTML help, but also the icon (the "@" symbol with "<>" under it).
|
||||
|
||||
![The the "@" symbol with "<>" under it.](intro/_static/tagSym.png)
|
||||
![The "@" symbol with "<>" under it.](intro/_static/tagSym.png)
|
||||
|
||||
The icon identifies the element as targeted by Tag Helpers. Pure HTML elements (such as the `fieldset`) display the "<>" icon.
|
||||
|
||||
|
@ -181,7 +181,7 @@ As soon as a Tag Helper attribute is entered, the tag and attribute fonts change
|
|||
|
||||
![The user selected "asp-for", which is now in bold purple because the user isn't using the Dark theme.](intro/_static/labelaspfor2.png)
|
||||
|
||||
You can enter the Visual Studio *CompleteWord* shortcut (Ctrl +spacebar is the [default](/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio) inside the double quotes (""), and you are now in C#, just like you would be in a C# class. IntelliSense displays all the methods and properties on the page model. The methods and properties are available because the property type is `ModelExpression`. In the image below, I'm editing the `Register` view, so the `RegisterViewModel` is available.
|
||||
You can enter the Visual Studio *CompleteWord* shortcut (Ctrl +spacebar is the [default](/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio)) inside the double quotes (""), and you are now in C#, just like you would be in a C# class. IntelliSense displays all the methods and properties on the page model. The methods and properties are available because the property type is `ModelExpression`. In the image below, I'm editing the `Register` view, so the `RegisterViewModel` is available.
|
||||
|
||||
![The user types "e" in the value for the "asp-for" attribute. IntelliSense suggests possible completion with "Email" selected.](intro/_static/intellemail.png)
|
||||
|
||||
|
|
Loading…
Reference in New Issue