123456789101112131415161718 |
- using PixiEditor.Extensions.CommonApi.LayoutBuilding;
- namespace PixiEditor.Extensions.Wasm.Api.LayoutBuilding;
- internal static class LayoutElementsStore
- {
- public static Dictionary<int, ILayoutElement<CompiledControl>> LayoutElements { get; } = new();
- public static void AddElement(int internalId, ILayoutElement<CompiledControl> element)
- {
- LayoutElements.Add(internalId, element);
- }
- public static void RemoveElement(int internalId)
- {
- LayoutElements.Remove(internalId);
- }
- }
|