Class BodyOutlet
A class for managing the class of the body element.
Assembly: Neon.Blazor.dll
Syntax
Constructors
BodyOutlet(IJSRuntime)
Declaration
public BodyOutlet(IJSRuntime js)
Parameters
Methods
AddPropertiesAsync(string)
Adds properties to the body element.
Declaration
public Task AddPropertiesAsync(string properties)
Parameters
Type |
Name |
Description |
string |
properties |
|
Returns
AddPropertiesAsync(string[])
Adds properties to the body element.
Declaration
public Task AddPropertiesAsync(string[] properties)
Parameters
Type |
Name |
Description |
string[] |
properties |
|
Returns
AddPropertyAsync(string)
Adds a property to the body element.
Declaration
public Task AddPropertyAsync(string property)
Parameters
Type |
Name |
Description |
string |
property |
|
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
GetProperties()
Gets the current properties of the body element.
Declaration
public HashSet<string> GetProperties()
Returns
RemovePropertiesAsync(string)
Removes properties from the body element.
Declaration
public Task RemovePropertiesAsync(string properties)
Parameters
Type |
Name |
Description |
string |
properties |
|
Returns
RemovePropertiesAsync(string[])
Removes properties from the body element.
Declaration
public Task RemovePropertiesAsync(string[] properties)
Parameters
Type |
Name |
Description |
string[] |
properties |
|
Returns
RemovePropertyAsync(string)
Removes a property from the body element.
Declaration
public Task RemovePropertyAsync(string property)
Parameters
Type |
Name |
Description |
string |
property |
|
Returns