mirror of
https://github.com/astaxie/beego.git
synced 2024-12-23 18:40:49 +00:00
16 lines
334 B
Go
16 lines
334 B
Go
package elements
|
|
|
|
type Textarea struct {
|
|
Element
|
|
}
|
|
|
|
func NewTextarea() *Textarea {
|
|
b := &Textarea{}
|
|
b.options = make(map[string]interface{})
|
|
b.attributes = make(map[string]interface{})
|
|
b.labelAttributes = make(map[string]interface{})
|
|
b.labelOptions = make(map[string]interface{})
|
|
b.SetAttribute("type", "textarea")
|
|
return b
|
|
}
|