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