30 lines
549 B
Go
30 lines
549 B
Go
|
// GENERATED BY gitlab.codemonkeysoftware.net/b/hatmill/internal/codegen
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package attribute
|
||
|
|
||
|
import "gitlab.codemonkeysoftware.net/b/hatmill"
|
||
|
|
||
|
// Disabled creates a "disabled" attribute
|
||
|
func Disabled() hatmill.Attrib {
|
||
|
return hatmill.Attrib{
|
||
|
Key: "disabled",
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Id creates a "id" attribute
|
||
|
func Id(value string) hatmill.Attrib {
|
||
|
return hatmill.Attrib{
|
||
|
Key: "id",
|
||
|
Value: value,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Src creates a "src" attribute
|
||
|
func Src(value string) hatmill.Attrib {
|
||
|
return hatmill.Attrib{
|
||
|
Key: "src",
|
||
|
Value: value,
|
||
|
}
|
||
|
}
|