Blazor.Components
1.0.0
내가 작업중 인 일부 블레이저 구성 요소 :
실행 예를 참조하십시오 : https://blazorcomponents.z6.web.core.windows.net/
< Tree
Nodes =" Items "
SelectedNode =" SelectedItem "
ChildSelector =" item => item.Childs " >
< TitleTemplate > @context.Text </ TitleTemplate >
</ Tree >클라이언트 종속성
< link rel =" stylesheet " href =" _content/MW.Blazor.Tree/styles.css " />
< link rel =" stylesheet " href =" https://use.fontawesome.com/releases/v5.8.1/css/all.css " integrity =" sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf " crossorigin =" anonymous " > 코드 예제
코드 예제 (게으른로드)
라이브 데모
특징 / 작업
로그 변경
MW.Blazor 로 이동하십시오IList<TItem> ) -> selectedNode ( TItem ) < TagSelector
SelectableTags =" @Tags "
SelectedTags =" @Selected "
Filter =" @((item,term) => item.Contains(term)) " >
< TagTemplate > @context </ TagTemplate >
</ TagSelector >클라이언트 종속성
< link rel =" stylesheet " href =" _content/MW.Blazor.TagSelector/styles.css " />
< script src =" _content/MW.Blazor.TagSelector/interop.js " > </ script > 코드 예제
라이브 데모
특징 / 작업
로그 변경
MW.Blazor 로 이동하십시오 < PagePanel PageIndex =" @CurrentPage " Style =" height:250px " >
< Page Widths =" 50%;100%;200% " >
< div class =" d-flex justify-content-center align-items-center h-100 text-white h4 " style =" background:#00ff90 " >
Page 1
</ div >
</ Page >
< Page Widths =" 50%;30%;20%;50% " >
< div class =" d-flex justify-content-center align-items-center h-100 text-white h4 " style =" background:#1596c7 " >
Page 2
</ div >
</ Page >
< Page Widths =" 70%;70%;20%;50% " >
< div class =" d-flex justify-content-center align-items-center h-100 text-white h4 " style =" background:#b823be " >
Page 3
</ div >
</ Page >
< Page Widths =" 60%;60%;60%;100% " >
< div class =" d-flex justify-content-center align-items-center h-100 text-white h4 " style =" background:#ff6a00 " >
Page 4
</ div >
</ Page >
</ PagePanel >
< button onclick =" @(() => CurrentPage--) " > < </ button >
@CurrentPage
< button onclick =" @(() => CurrentPage++) " > > </ button >
@functions { int CurrentPage { get; set; } }클라이언트 종속성
< link rel =" stylesheet " href =" _content/MW.Blazor.PagePanel/styles.css " /> 코드 예제
라이브 데모
특징 / 작업
로그 변경
MW.Blazor 로 이동하십시오