Table of Contents

Class ResizeNotificationService

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll

网页尺寸变化通知服务

public class ResizeNotificationService
Inheritance
ResizeNotificationService
Inherited Members
Extension Methods

Constructors

ResizeNotificationService()

public ResizeNotificationService()

Properties

CurrentValue

获得 当前值

public BreakPoint CurrentValue { get; }

Property Value

BreakPoint

Methods

Subscribe(object, Func<BreakPoint, Task>)

订阅网页尺寸变化通知

public void Subscribe(object target, Func<BreakPoint, Task> callback)

Parameters

target object
callback Func<BreakPoint, Task>

Unsubscribe(object)

取消网页尺寸变化通知

public void Unsubscribe(object target)

Parameters

target object