mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 04:58:05 +08:00
71bac2e85d
* Children components using CascadingParameter add itself to parent component.However, when children components disposed, they are not remove from parent component. For example, when items in checkgroup have changed , it may causes Index was outside the bounds of the array at AntDesign.CheckboxGroup.OnCheckboxChange.To fix these bug, Adding remove function in dispose process is the solution of this commit. * fix: some exception Co-authored-by: ElderJames <shunjiey@hotmail.com>
20 lines
377 B
C#
20 lines
377 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public interface IAnchor
|
|
{
|
|
//List<AnchorLink> Links { get; }
|
|
void Add(AnchorLink anchorLink);
|
|
void Remove(AnchorLink anchorLink);
|
|
|
|
void Clear();
|
|
|
|
List<AnchorLink> FlatChildren();
|
|
}
|
|
}
|