| @ -158,7 +158,7 @@ | ||||
| 		if (firstRender) | ||||
| 		{ | ||||
| 			var interop = new Interop(JSRuntime); | ||||
| 			await interop.IncludeLink("", "stylesheet", "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css", "text/css", "sha512-GQGU0fMMi238uA+a/bdWJfpUGKUkBdgfFdgBm72SUQ6BeyWjoY/ton0tEjH+OSH9iP4Dfh+7HM0I9f5eR0L/4w==", "anonymous"); | ||||
| 			await interop.IncludeLink("", "stylesheet", "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css", "text/css", "sha512-GQGU0fMMi238uA+a/bdWJfpUGKUkBdgfFdgBm72SUQ6BeyWjoY/ton0tEjH+OSH9iP4Dfh+7HM0I9f5eR0L/4w==", "anonymous", ""); | ||||
| 			await interop.IncludeScript("", "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.bundle.min.js", "sha512-pax4MlgXjHEPfCwcJLQhigY7+N8rt6bVvWLFyUMuxShv170X53TRzGPmPkZmGBhk+jikR8WBM4yl7A9WMHHqvg==", "anonymous", "", "head"); | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| @ -72,13 +72,13 @@ namespace Oqtane.UI | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         public Task IncludeLink(string id, string rel, string href, string type, string integrity, string crossorigin) | ||||
|         public Task IncludeLink(string id, string rel, string href, string type, string integrity, string crossorigin, string includebefore) | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|                 _jsRuntime.InvokeVoidAsync( | ||||
|                     "Oqtane.Interop.includeLink", | ||||
|                     id, rel, href, type, integrity, crossorigin); | ||||
|                     id, rel, href, type, integrity, crossorigin, includebefore); | ||||
|                 return Task.CompletedTask; | ||||
|             } | ||||
|             catch | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker