コード例 #1
0
 public OptionGroup() : base("optgroup")
 {
     Disabled       = new HTMLBooleanAttribute("disabled");
     Label          = new HTMLFieldAttribute("label");
     NestedElements = new List <HTMLElement>();
     InitAttributes();
 }
コード例 #2
0
ファイル: FieldSet.cs プロジェクト: mrjoe3012/HTMLTools
 public FieldSet() : base("fieldset")
 {
     Disabled       = new HTMLBooleanAttribute("disabled");
     Form           = new HTMLFieldAttribute("form");
     Name           = new HTMLFieldAttribute("name");
     NestedElements = new List <HTMLElement>();
     InitAttributes();
 }
コード例 #3
0
ファイル: Track.cs プロジェクト: mrjoe3012/HTMLTools
 public Track() : base("track")
 {
     Default    = new HTMLBooleanAttribute("default");
     Kind       = new HTMLFieldAttribute("kind");
     Label      = new HTMLFieldAttribute("src");
     SourceLang = new HTMLFieldAttribute("srclang");
     this.InitAttributes();
 }
コード例 #4
0
ファイル: OrderedList.cs プロジェクト: mrjoe3012/HTMLTools
 public OrderedList() : base("ol")
 {
     this.NestedElements = new List <HTMLElement>();
     this.Start          = new HTMLFieldAttribute("start");
     this.Type           = new HTMLFieldAttribute("type");
     this.Reversed       = new HTMLBooleanAttribute("reversed");
     this.InitAttributes();
 }
コード例 #5
0
ファイル: Dialog.cs プロジェクト: mrjoe3012/HTMLTools
        public Dialog() : base("dialog")
        {
            this.Open = new HTMLBooleanAttribute("open");

            this.NestedElements = new List <HTMLElement>();

            this.InitAttributes();
        }
コード例 #6
0
ファイル: Option.cs プロジェクト: mrjoe3012/HTMLTools
        public Option() : base("option")
        {
            Disabled       = new HTMLBooleanAttribute("disabled");
            Label          = new HTMLFieldAttribute("label");
            Selected       = new HTMLBooleanAttribute("selected");
            Value          = new HTMLFieldAttribute("value");
            NestedElements = new List <HTMLElement>();

            InitAttributes();
        }
コード例 #7
0
ファイル: Select.cs プロジェクト: mrjoe3012/HTMLTools
        public Select() : base("select")
        {
            AutoFocus = new HTMLBooleanAttribute("autofocus");
            Disabled  = new HTMLBooleanAttribute("disabled");
            Form      = new HTMLFieldAttribute("form");
            Multiple  = new HTMLBooleanAttribute("multiple");
            Name      = new HTMLFieldAttribute("name");
            Required  = new HTMLBooleanAttribute("required");
            Size      = new HTMLFieldAttribute("size");

            NestedElements = new List <HTMLElement>();

            InitAttributes();
        }
コード例 #8
0
ファイル: Audio.cs プロジェクト: mrjoe3012/HTMLTools
        public Audio() : base("audio")
        {
            NestedElements = new List <HTMLElement>();

            AutoPlay = new HTMLBooleanAttribute("autoplay");
            Loop     = new HTMLBooleanAttribute("loop");
            Controls = new HTMLBooleanAttribute("controls");
            Muted    = new HTMLBooleanAttribute("muted");

            PreLoad = new HTMLFieldAttribute("preload");
            Source  = new HTMLFieldAttribute("src");

            this.InitAttributes();
        }
コード例 #9
0
ファイル: Video.cs プロジェクト: mrjoe3012/HTMLTools
        public Video() : base("video")
        {
            NestedElements = new List <HTMLElement>();

            AutoPlay = new HTMLBooleanAttribute("autoplay");
            Controls = new HTMLBooleanAttribute("controls");
            Loop     = new HTMLBooleanAttribute("loop");
            Muted    = new HTMLBooleanAttribute("muted");

            Height  = new HTMLFieldAttribute("height");
            Width   = new HTMLFieldAttribute("width");
            Source  = new HTMLFieldAttribute("src");
            Preload = new HTMLFieldAttribute("preload");
            Poster  = new HTMLFieldAttribute("poster");

            this.InitAttributes();
        }
コード例 #10
0
        public Image() : base("img")
        {
            Alt             = new HTMLFieldAttribute("alt");
            CrossOrigin     = new HTMLFieldAttribute("crossorigin");
            Height          = new HTMLFieldAttribute("height");
            Width           = new HTMLFieldAttribute("width");
            LongDescription = new HTMLFieldAttribute("longdesc");
            ReferrerPolicy  = new HTMLFieldAttribute("referrerpolicy");
            Sizes           = new HTMLFieldAttribute("sizes");
            Source          = new HTMLFieldAttribute("src");
            SourceSet       = new HTMLFieldAttribute("srcset");
            UseMap          = new HTMLFieldAttribute("usemap");

            IsMap = new HTMLBooleanAttribute("ismap");

            this.InitAttributes();
        }
コード例 #11
0
ファイル: Button.cs プロジェクト: mrjoe3012/HTMLTools
        public Button() : base("button")
        {
            AutoFocus      = new HTMLFieldAttribute("autofocus");
            Disabled       = new HTMLBooleanAttribute("disabled");
            Form           = new HTMLFieldAttribute("form");
            FormAction     = new HTMLFieldAttribute("formaction");
            FormEncType    = new HTMLFieldAttribute("formenctype");
            FormMethod     = new HTMLFieldAttribute("formmethod");
            FormNoValidate = new HTMLBooleanAttribute("formnovalidate");
            FormTarget     = new HTMLFieldAttribute("formtarget");
            Name           = new HTMLFieldAttribute("name");
            Type           = new HTMLFieldAttribute("type");
            Value          = new HTMLFieldAttribute("text");

            NestedElements = new List <HTMLElement>();

            this.InitAttributes();
        }
コード例 #12
0
ファイル: TextArea.cs プロジェクト: mrjoe3012/HTMLTools
        public TextArea() : base("textarea")
        {
            NestedElements = new List <HTMLElement>();

            AutoFocus   = new HTMLBooleanAttribute("autofocus");
            Cols        = new HTMLFieldAttribute("cols");
            DirName     = new HTMLFieldAttribute("dirname");
            Disabled    = new HTMLBooleanAttribute("disabled");
            Form        = new HTMLFieldAttribute("form");
            MaxLength   = new HTMLFieldAttribute("maxlength");
            Name        = new HTMLFieldAttribute("name");
            PlaceHolder = new HTMLFieldAttribute("placeholder");
            Readonly    = new HTMLBooleanAttribute("readonly");
            Required    = new HTMLBooleanAttribute("required");
            Rows        = new HTMLFieldAttribute("rows");
            Wrap        = new HTMLFieldAttribute("wrap");

            this.InitAttributes();
        }
コード例 #13
0
        public Input() : base("input")
        {
            Accept         = new HTMLFieldAttribute("accept");
            Alt            = new HTMLFieldAttribute("alt");
            AutoComplete   = new HTMLFieldAttribute("autocomplete");
            AutoFocus      = new HTMLBooleanAttribute("autofocus");
            Checked        = new HTMLBooleanAttribute("checked");
            DirName        = new HTMLFieldAttribute("dirname");
            Disabled       = new HTMLBooleanAttribute("disabled");
            FormID         = new HTMLFieldAttribute("form");
            FormAction     = new HTMLFieldAttribute("formaction");
            FormEncType    = new HTMLFieldAttribute("formenctype");
            FormMethod     = new HTMLFieldAttribute("formmethod");
            FormNoValidate = new HTMLFieldAttribute("formnovalidate");
            FormTarget     = new HTMLFieldAttribute("formtarget");
            Height         = new HTMLFieldAttribute("height");
            List           = new HTMLFieldAttribute("list");
            Max            = new HTMLFieldAttribute("max");
            MaxLength      = new HTMLFieldAttribute("maxlength");
            Min            = new HTMLFieldAttribute("min");
            MinLength      = new HTMLFieldAttribute("minlength");
            Multiple       = new HTMLBooleanAttribute("multiple");
            Name           = new HTMLFieldAttribute("name");
            Pattern        = new HTMLFieldAttribute("pattern");
            PlaceHolder    = new HTMLFieldAttribute("placeholder");
            Readonly       = new HTMLBooleanAttribute("readonly");
            Required       = new HTMLBooleanAttribute("required");
            Size           = new HTMLFieldAttribute("size");
            Source         = new HTMLFieldAttribute("src");
            Step           = new HTMLFieldAttribute("step");
            Type           = new HTMLFieldAttribute("type");
            Value          = new HTMLFieldAttribute("value");
            Width          = new HTMLFieldAttribute("width");

            InitAttributes();
        }