Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

feat(ngHref): bind ng-href to xlink:href for SVGAElement #5904

Closed
wants to merge 1 commit into from

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Jan 21, 2014

This change makes the ngHref directive useful for SVGAElements by having it bind to the xlink:href attribute rather than the href attribute.


I believe this could be refactored to be smaller, but overall I think this is a good thing.

@IgorMinar
Copy link
Contributor

lgtm, but please rename booleanAttrs to ngHref in the comit message, we want the final changelog to be understandable by regular angular developers (that's whom we optimize the commit messages for)

This change makes the ngHref directive useful for SVGAElements by having it bind
to the xlink:href attribute rather than the href attribute.

Closes angular#5904
@caitp caitp closed this in 2bce71e Feb 21, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants