mirror of
https://gitee.com/blazorcomponent/MASA.Blazor.git
synced 2025-12-06 10:19:23 +08:00
♻ refactor(MDialog): Move logic code to BlazorComponent (#355)
This commit is contained in:
@@ -95,13 +95,5 @@ namespace Masa.Blazor
|
||||
})
|
||||
.ApplyDialogDefault();
|
||||
}
|
||||
|
||||
public async Task Keydown(KeyboardEventArgs args)
|
||||
{
|
||||
if (args.Key == "Escape")
|
||||
{
|
||||
await SetIsActiveAsync(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user