Component subcomponent page
continuous-integration/drone/push Build is passing Details

minorCorrections
Marc CHEVALDONNE 2 years ago
parent f4deb5e906
commit 54101e17b5

@ -96,7 +96,7 @@ public partial class CraftingItem
It is also possible to create CSS style files directly for our component, this file will be automatically rendered with our component. It is also possible to create CSS style files directly for our component, this file will be automatically rendered with our component.
```css title="Components/CraftingItem.razor.cs" ```css title="Components/CraftingItem.razor.css"
.item { .item {
width: 64px; width: 64px;
height: 64px; height: 64px;
@ -130,9 +130,11 @@ The following code:
New title New title
<input @bind="newHeading" /> <input @bind="newHeading" />
</label> </label>
// highlight-next-line // highlight-start
<button @onclick="UpdateHeading">
Update heading Update heading
</button> </button>
// highlight-end
</p> </p>
<p> <p>

Loading…
Cancel
Save