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 " >コードの例
コードの例(怠zyLoading)
ライブデモ
機能 /タスク
ログを変更します
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に移動します