« Ant blazor design » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
 
Ligne 3 : Ligne 3 :
* [https://antblazor.com/en-US Ant Design Blazor]
* [https://antblazor.com/en-US Ant Design Blazor]
* [https://github.com/ant-design-blazor/ant-design-blazor Ant Design Blazor on GitHub]
* [https://github.com/ant-design-blazor/ant-design-blazor Ant Design Blazor on GitHub]
= Input text with clear icon =
<kode lang='razor'>
<Input @bind-Value="@MyProperty"
      Placeholder="My Placeholder"
      AllowClear="true"
      TValue="string"/>
</kode>


= [https://github.com/ant-design-blazor/ant-design-blazor#import-ant-design-blazor-into-an-existing-project Addition to a project] =
= [https://github.com/ant-design-blazor/ant-design-blazor#import-ant-design-blazor-into-an-existing-project Addition to a project] =

Dernière version du 1 mars 2021 à 21:39

Links

Input text with clear icon

Razor.svg
<Input @bind-Value="@MyProperty"
       Placeholder="My Placeholder"
       AllowClear="true"
       TValue="string"/>

Addition to a project

Bash.svg
dotnet add package AntDesign
Pages/_Host.cshtml
<link href="_content/AntDesign/css/ant-design-blazor.css" rel="stylesheet" />
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
Startup.cs
public void ConfigureServices(IServiceCollection services)
{
    services.AddAntDesign();
_Imports.razor
@using AntDesign