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

docs: component-selector both element and attribute rule #698

Merged
merged 2 commits into from
Aug 8, 2018
Merged

docs: component-selector both element and attribute rule #698

merged 2 commits into from
Aug 8, 2018

Conversation

PapsOu
Copy link
Contributor

@PapsOu PapsOu commented Aug 8, 2018

Related to bug #307

@PapsOu PapsOu changed the title Update doc for both element and attribute rule docs: component-selector both element and attribute rule Aug 8, 2018
Copy link
Owner

@mgechev mgechev left a comment

Choose a reason for hiding this comment

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

Let a minor comment. Thanks for the PR!

@@ -46,7 +47,7 @@ export class Rule extends SelectorRule {
},
optionsDescription: Utils.dedent`
Options accept three obligatory items as an array:
1. \`${OPTION_ELEMENT}\` or \`${OPTION_ATTRIBUTE}\` forces components either to be elements or attributes.
1. \`${OPTION_ELEMENT}\` or \`${OPTION_ATTRIBUTE}\` forces components either to be elements or attributes. It can be both (wrapped in an array, see example #4)
Copy link
Owner

Choose a reason for hiding this comment

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

Would you change this to: forces components to be used as either elements, attributes, or both (not recommend).

@PapsOu
Copy link
Contributor Author

PapsOu commented Aug 8, 2018

@mgechev : I've added your suggestion.

@mgechev mgechev merged commit 22de2a6 into mgechev:master Aug 8, 2018
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