Exemple #1
0
 public OptionGroup() : base("optgroup")
 {
     Disabled       = new HTMLBooleanAttribute("disabled");
     Label          = new HTMLFieldAttribute("label");
     NestedElements = new List <HTMLElement>();
     InitAttributes();
 }
Exemple #2
0
 public FieldSet() : base("fieldset")
 {
     Disabled       = new HTMLBooleanAttribute("disabled");
     Form           = new HTMLFieldAttribute("form");
     Name           = new HTMLFieldAttribute("name");
     NestedElements = new List <HTMLElement>();
     InitAttributes();
 }
Exemple #3
0
 public Track() : base("track")
 {
     Default    = new HTMLBooleanAttribute("default");
     Kind       = new HTMLFieldAttribute("kind");
     Label      = new HTMLFieldAttribute("src");
     SourceLang = new HTMLFieldAttribute("srclang");
     this.InitAttributes();
 }
Exemple #4
0
 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();
 }
Exemple #5
0
        public Dialog() : base("dialog")
        {
            this.Open = new HTMLBooleanAttribute("open");

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

            this.InitAttributes();
        }
Exemple #6
0
        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();
        }
Exemple #7
0
        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();
        }
Exemple #8
0
        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();
        }
Exemple #9
0
        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();
        }
Exemple #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();
        }
Exemple #11
0
        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();
        }
Exemple #12
0
        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();
        }
Exemple #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();
        }