ant-design-blazor/site/Shared/DemoComponent.cs
James Yeung 4d2c77fec7 refactor: dropdown and menu (#126)
* feat: add mock browser

* docs: add mock browser

* docs: rename menu

* fix: style for submenu

* docs: add two menu demo

* fix: some errors

* fix(module:menu): openkeys

* docs: add switch-mode demo for menu

* docs(module:menu): finish demos

* docs(module: menu): add router demo

* docs: add new demos (#111)

* feat(module: datepicker): remove ant prefix

* feat(module: dropdown): remove ant prefix

* feat(module: empty): remove ant prefix

* feat(module: timepicker): remove ant prefix

* docs(module: datepicker): add new demos

* docs(module: dropdown): add new demos

* docs(module: empty): add new demos

* docs(module: timepicker): add new demos

* docs: remove old demo

Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>

* refactor(module: dropdown): add overlay (#122)

* feat(module: dropdown): support left/right popup

* feat(module: submenu): use dropdown to popup

* feat: add overlay and trigger class(not complete yet)

* feat: add OverlayTrigger.cs

* feat: submenu support dropdown

* feat(module: overlay): prevent hide when child is showing

* fix(module: menu): prefixCls error

* feat(module: overlay-trigger): change function to virtual

* feat(module: dropdown): remove unuse class

* feat(module: sub-menu): set IsOpen to Visible

* refactor: change namespace

* refactor: use smartEnum

* fix: menu json

* fix: submenu open state

Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>
2020-05-18 14:46:42 +08:00

43 lines
846 B
C#

using System.Collections.Generic;
namespace AntBlazor.Docs
{
public class DemoComponent
{
public string Title { get; set; }
public string SubTitle { get; set; }
public string Type { get; set; }
public string Desc { get; set; }
public string ApiDoc { get; set; }
public int? Cols { get; set; }
public List<DemoItem> DemoList { get; set; }
}
public class DemoItem
{
public decimal Order { get; set; }
public string Name { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string Code { get; set; }
public string Type { get; set; }
public string Style { get; set; }
public int? Iframe { get; set; }
public bool Debug { get; set; }
}
}