Skip to content
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

Move style builder into Attribute Builder Scope #699

Closed
wants to merge 3 commits into from

Conversation

Schahen
Copy link
Collaborator

@Schahen Schahen commented May 26, 2021

No description provided.

@Schahen Schahen requested a review from eymar May 26, 2021 14:18
import org.w3c.dom.HTMLElement

class AttrsBuilder<TTag : Tag> : EventsListenerBuilder() {
private val map = mutableMapOf<String, String>()
private val attributesMap = mutableMapOf<String, String>()
val styleBuilder = StyleBuilderImpl()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we limit the type of this val to StyleBuilder?

val styleBuilder: StyleBuilder = StyleBuilderImpl()

@Schahen
Copy link
Collaborator Author

Schahen commented Jun 1, 2021

This one is merged

@Schahen Schahen closed this Jun 1, 2021
@Schahen Schahen deleted the STYLE_IN_ATTR_BUILDER_PR branch June 1, 2021 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants