13 references to CssClass
Microsoft.AspNetCore.Components.Web.Tests (13)
Forms\InputBaseTest.cs (13)
213Assert.Equal("valid", inputComponent.CssClass); // no Class was specified
217Assert.Equal("modified valid", inputComponent.CssClass);
222Assert.Equal("modified invalid", inputComponent.CssClass);
226Assert.Equal("invalid", inputComponent.CssClass);
230Assert.Equal("valid", inputComponent.CssClass);
251Assert.Equal("my-class other-class valid", inputComponent.CssClass);
255Assert.Equal("my-class other-class modified valid", inputComponent.CssClass);
384Assert.Equal("valid", component.CssClass);
395Assert.Equal("invalid", component.CssClass);
452Assert.Equal("invalid", component.CssClass);
487Assert.Equal("invalid", component.CssClass);
515Assert.Equal("invalid", component.CssClass);
526Assert.Equal("valid", component.CssClass);