Skip to content

Commit

Permalink
more attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
daaku committed Oct 5, 2012
1 parent 64675c0 commit 8c049d9
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions tags.go
Expand Up @@ -158,15 +158,16 @@ func (t *Img) HTML() (HTML, error) {
}

type Input struct {
ID string `h:"attr"`
Class string `h:"attr"`
Name string `h:"attr"`
Style string `h:"attr"`
Type string `h:"attr"`
Value string `h:"attr"`
Placeholder string `h:"attr"`
Checked bool `h:"attr"`
Inner HTML `h:"inner"`
ID string `h:"attr"`
Class string `h:"attr"`
Name string `h:"attr"`
Style string `h:"attr"`
Type string `h:"attr"`
Value string `h:"attr"`
Placeholder string `h:"attr"`
Checked bool `h:"attr"`
Data map[string]interface{} `h:"dict"`
Inner HTML `h:"inner"`
}

func (i *Input) HTML() (HTML, error) {
Expand Down Expand Up @@ -251,6 +252,7 @@ func (d *Pre) HTML() (HTML, error) {

type Script struct {
Src string `h:"attr"`
Async bool `h:"attr"`
Inner HTML `h:"inner"`
}

Expand Down

0 comments on commit 8c049d9

Please sign in to comment.