コード例 #1
0
        protected override async Task OnParametersSetAsync()
        {
            reactChildren.Clear();

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

            await base.OnParametersSetAsync();
        }
コード例 #2
0
        protected override async Task OnParametersSetAsync()
        {
            await base.OnParametersSetAsync();

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

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