C# Class WebSiteJsRuntimeExtension, bitplatform

显示文件 Open project: bitfoundation/bitframework

Public Methods

Method Description
CopyToClipboard ( IJSRuntime jsRuntime, string codeSampleContentForCopy ) : Task,
RegisterOnScrollToChangeHeaderStyle ( IJSRuntime jsRuntime, ElementReference, element ) : Task,
ScrollToElement ( IJSRuntime jsRuntime, string targetElementId ) : Task,
SetToggleBodyOverflow ( IJSRuntime jsRuntime, bool isNavOpen ) : Task,

Method Details

CopyToClipboard() public static method

public static CopyToClipboard ( IJSRuntime jsRuntime, string codeSampleContentForCopy ) : Task,
jsRuntime IJSRuntime
codeSampleContentForCopy string
return Task,

RegisterOnScrollToChangeHeaderStyle() public static method

public static RegisterOnScrollToChangeHeaderStyle ( IJSRuntime jsRuntime, ElementReference, element ) : Task,
jsRuntime IJSRuntime
element ElementReference,
return Task,

ScrollToElement() public static method

public static ScrollToElement ( IJSRuntime jsRuntime, string targetElementId ) : Task,
jsRuntime IJSRuntime
targetElementId string
return Task,

SetToggleBodyOverflow() public static method

public static SetToggleBodyOverflow ( IJSRuntime jsRuntime, bool isNavOpen ) : Task,
jsRuntime IJSRuntime
isNavOpen bool
return Task,