Sample Drawer
-
+
Home
-
+
Search
@@ -487,6 +518,20 @@ With the mini variant, the Navigation Drawer changes its width instead of closin
+
+@code {
+ private IgbIcon IconRef { get; set; }
+
+ protected override void OnAfterRender(bool firstRender)
+ {
+ base.OnAfterRender(firstRender);
+ if (this.IconRef != null && firstRender)
+ {
+ this.IconRef.RegisterIcon("home", "https://unpkg.com/material-design-icons@3.0.1/action/svg/production/ic_home_24px.svg", "material");
+ this.IconRef.RegisterIcon("search", "https://unpkg.com/material-design-icons@3.0.1/action/svg/production/ic_search_24px.svg", "material");
+ }
+ }
+}
```