Exemplo n.º 1
0
        protected override async Task OnParametersSetAsync()
        {
            reactChildren.Clear();

            if (!FluentComponentAttributes.ContainsKey("componentName"))
            {
                FluentComponentAttributes.Add("componentName", ComponentName);
            }

            await base.OnParametersSetAsync();
        }
Exemplo n.º 2
0
        protected override async Task OnParametersSetAsync()
        {
            await base.OnParametersSetAsync();

            if (!FluentComponentAttributes.ContainsKey("componentName"))
            {
                FluentComponentAttributes.Add("componentName", ComponentName);
            }

            FluentComponentAttributes["items"]   = Items;
            FluentComponentAttributes["columns"] = Columns;
        }