mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Fix typo
This commit is contained in:
@@ -91,7 +91,7 @@ For example, in your `cshtml`,
|
|||||||
asp-prerender-data="new {
|
asp-prerender-data="new {
|
||||||
IsGoldUser = true,
|
IsGoldUser = true,
|
||||||
Cookies = ViewContext.HttpContext.Request.Cookies
|
Cookies = ViewContext.HttpContext.Request.Cookies
|
||||||
}""></div>
|
}"></div>
|
||||||
|
|
||||||
Now in your JavaScript prerendering function, you can access this data by reading `params.data`, e.g.:
|
Now in your JavaScript prerendering function, you can access this data by reading `params.data`, e.g.:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user