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

Directives class name selectors #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kindzoku
Copy link
Contributor

@Kindzoku Kindzoku commented Dec 19, 2018

Here is another 50 cents from me. :)
Angular Directive

Declare as one of the following:

element-name: Select by element name.
.class: Select by class name.
[attribute]: Select by attribute name.

I edited directive declaration, so it'll try to parse different types of selectors a bit stricter.
So in case of element-name we'll restrict directive to E, in case of .class - to C, and in case of [attribute] - to A.

And I just wanted to add that your library is truly awesome!

@coveralls
Copy link

Coverage Status

Coverage increased (+0.8%) to 69.868% when pulling 1789ed8 on Kindzoku:Directive_fix into 9382664 on vsternbach:master.

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