Skip to main content
Home  › ... 2sxc Apps

Razor Blade Tutorials

Tutorial Home

RazorBlade Fluent Tag API @Tag.Custom("your-tag") v3

All Html5 tags are available under Tag.xxx(). In case you need a custom tag - like an <app-root></app-root> for angular, you'll need the @Tag.Custom(...).

Source Code of this file

Below you'll see the source code of the file. Note that we're just showing the main part, and hiding some parts of the file which are not relevant for understanding the essentials. Click to expand the code

@inherits Custom.Hybrid.Razor14
@using ToSic.Razor.Blade;
<!-- unimportant stuff, hidden -->
RazorBlade Fluent Tag API @@Tag.Custom(... <!-- unimportant stuff, hidden -->

@Tag.Custom("app-root")

<!-- unimportant stuff, hidden -->