Class AbpUtilsService
Inheritance
object
AbpUtilsService
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.AspNetCore.Components.Web.dll
Syntax
public class AbpUtilsService : IAbpUtilsService, ITransientDependency
Constructors
AbpUtilsService(IJSRuntime)
Declaration
public AbpUtilsService(IJSRuntime jsRuntime)
Parameters
| Type |
Name |
Description |
| Microsoft.JSInterop.IJSRuntime |
jsRuntime |
|
Properties
JsRuntime
Declaration
protected IJSRuntime JsRuntime { get; }
Property Value
| Type |
Description |
| Microsoft.JSInterop.IJSRuntime |
|
Methods
AddClassToTagAsync(string, string)
Declaration
public ValueTask AddClassToTagAsync(string tagName, string className)
Parameters
| Type |
Name |
Description |
| string |
tagName |
|
| string |
className |
|
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
ExitFullscreenAsync()
Declaration
public ValueTask ExitFullscreenAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
HasClassOnTagAsync(string, string)
Declaration
public ValueTask<bool> HasClassOnTagAsync(string tagName, string className)
Parameters
| Type |
Name |
Description |
| string |
tagName |
|
| string |
className |
|
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask<TResult><bool> |
|
RemoveClassFromTagAsync(string, string)
Declaration
public ValueTask RemoveClassFromTagAsync(string tagName, string className)
Parameters
| Type |
Name |
Description |
| string |
tagName |
|
| string |
className |
|
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
ReplaceLinkHrefByIdAsync(string, string)
Declaration
public ValueTask ReplaceLinkHrefByIdAsync(string linkId, string hrefValue)
Parameters
| Type |
Name |
Description |
| string |
linkId |
|
| string |
hrefValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
RequestFullscreenAsync()
Declaration
public ValueTask RequestFullscreenAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
ToggleFullscreenAsync()
Declaration
public ValueTask ToggleFullscreenAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.ValueTask |
|
Implements
Extension Methods