-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
srcSet attribute of source tag #214
Comments
i think instead of @Suppress("unused")
open class SOURCE(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("source", consumer, initialAttributes, null, true, true), CommonAttributeGroupFacade {
var src : String
get() = attributeStringString.get(this, "src")
set(newValue) {attributeStringString.set(this, "src", newValue)}
var type : String
get() = attributeStringString.get(this, "type")
set(newValue) {attributeStringString.set(this, "type", newValue)}
var media : String
get() = attributeStringString.get(this, "media")
set(newValue) {attributeStringString.set(this, "media", newValue)}
} the source tag should look like @Suppress("unused")
open class SOURCE(initialAttributes : Map<String, String>, override val consumer : TagConsumer<*>) : HTMLTag("source", consumer, initialAttributes, null, true, true), CommonAttributeGroupFacade {
var src : String
get() = attributeStringString.get(this, "src")
set(newValue) {attributeStringString.set(this, "src", newValue)}
var srcSet : String
get() = attributeStringString.get(this, "srcSet")
set(newValue) {attributeStringString.set(this, "srcSet", newValue)}
var type : String
get() = attributeStringString.get(this, "type")
set(newValue) {attributeStringString.set(this, "type", newValue)}
var media : String
get() = attributeStringString.get(this, "media")
set(newValue) {attributeStringString.set(this, "media", newValue)}
} |
this attribute is only valid for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like the DSL is missing the srcSet attribute of the source tag
The text was updated successfully, but these errors were encountered: