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

Initial implementation of generic attribute support #213

Merged
merged 2 commits into from
Sep 9, 2016

Conversation

vipentti
Copy link
Collaborator

@vipentti vipentti commented Aug 27, 2016

This is a initial implementation of generic attribute support
to enable arbitrary Html.Attributes to resolve #208 . This implementation
tries to minimize the likelihood of overriding internally used
attributes while still maintaining MINOR change.

This implementation may be revisited in the next MAJOR version
to update the implementation.

Add namespaced qualifiers to Internal.attribute,
this way internal attributes are easy to search for as well separate
them from Options.attribute.

As always, open to feed back and suggestions!

@vipentti vipentti closed this Aug 31, 2016
@debois
Copy link
Owner

debois commented Sep 1, 2016

Sorry about the late reply. I like this! You closed it again?

@vipentti
Copy link
Collaborator Author

vipentti commented Sep 1, 2016

I guess I can update it if we want it in the current v7

@vipentti vipentti reopened this Sep 1, 2016
This is a initial implementation of generic attribute support
to enable arbitrary `Html.Attributes`. This implementation
tries to minimize the likelyhood of overriding internally used
attributes while still maintaining `MINOR` change.

This implementation may be revisited in the next MAJOR version
to update the implementation.

Add namespaced qualifiers to `Internal.attribute`,
this way internal attributes are easy to search for as well separate
them from `Options.attribute`
@vipentti
Copy link
Collaborator Author

vipentti commented Sep 1, 2016

This should reduce the likelihood of overriding internal attributes by separating them.

@debois
Copy link
Owner

debois commented Sep 9, 2016

Just to be clear: #179 contains this already, yes? In that case, do we want this now, or can it wait for v8?

@vipentti
Copy link
Collaborator Author

vipentti commented Sep 9, 2016

Yes, #179 contains generic attribute support as well. We may wait or we may use this for now. Either way works for me. I think it depends if this is needed now and if v8 is some time a way still.

@debois
Copy link
Owner

debois commented Sep 9, 2016

Ok, let's do it. It keeps coming up.

@debois debois merged commit b47e102 into debois:v7 Sep 9, 2016
vipentti added a commit to vipentti/elm-mdl that referenced this pull request Sep 11, 2016
This resolves debois#201. The implementation was simplified in a large way
with debois#213.
@vipentti vipentti mentioned this pull request Oct 3, 2016
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.

2 participants