HtmlImportMapExtensions class
namespace: Serenity.Web assembly: Serenity.Net.Web
Contains import map related extension methods for HTML helpers and HTTP contexts.
public static class HtmlImportMapExtensions
Public Members
| name | description |
|---|---|
| static AddImportMapEntry(…) | Adds an entry to the import map for the current HTML view, associating a module specifier with its address and optional integrity value. |
| static AddSerenityAssetsImportMapEntries(…) | Adds import map entries for modules provided via Serenity.Assets like tiptap, jspdf, etc. |
| static RenderImportMap(…) | Renders an HTML import map script element based on the current view's import map configuration. |
See Also
- Source: HtmlImportMapExtensions.cs