BadScript 2
Loading...
Searching...
No Matches
BadHtmlApiExtensions.cs
Go to the documentation of this file.
2
6public static class BadHtmlApiExtensions
7{
13 public static BadRuntime UseHtmlApi(this BadRuntime runtime)
14 {
15 return runtime.UseApi(new BadHtmlApi(), true);
16 }
17}
Exposes the BadScript Runtime Functionality to Consumers.
Definition BadRuntime.cs:28
BadRuntime UseApi(BadInteropApi api, bool replace=false)
Adds or Replaces a specified API.
static BadRuntime UseHtmlApi(this BadRuntime runtime)
Configures the Runtime to use the Html API.
Implements the "BadHtml" API.
Definition BadHtmlApi.cs:16
Contains HTML Extensions and APIs for the BadScript2 Runtime.
Definition BadHtmlApi.cs:9