Skip to content

Commit

Permalink
v0.0.313
Browse files Browse the repository at this point in the history
  • Loading branch information
ekapituro committed Jan 20, 2024
1 parent 4e8d561 commit 913400a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion snippets/razor.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"body": [
"<CascadingValue Value=\"@${1:PropertyName}\" Name=\"@${2:ValueName}\" IsFixed=\"false\" >",
"\t$0",
"</CascadingValue>"
"</CascadingValue>"
],
"description": "Inserts a CascadingValue component",
"prefix": "yCascadingValue"
Expand Down Expand Up @@ -1208,6 +1208,13 @@
"description": "Inserts a complete page component with ChildContent RenderFragment",
"prefix": "yRenderFragmentChildContent"
},
"renderFragmentType": {
"body": [
"[Parameter] public RenderFragment<${1:Type}> ${2:PropertyName} { get; set; }$0"
],
"description": "Inserts a RenderFragment<T> property",
"prefix": "yRenderFragmentType"
},
"renderModeInteractiveAuto": {
"body": "@rendermode InteractiveAuto$0",
"description": "Inserts @rendermode InteractiveAuto",
Expand Down

0 comments on commit 913400a

Please sign in to comment.