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

README: Add modifier option to the VerticalResults portion of the doc… #753

Merged
merged 3 commits into from
May 5, 2020

Conversation

alexisgrow
Copy link
Contributor

@alexisgrow alexisgrow commented May 5, 2020

Add modifier option to the VerticalResults portion of the documentation.

TEST=none

@alexisgrow alexisgrow requested a review from tmeyer2115 May 5, 2020 17:28
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
@@ -494,6 +494,8 @@ ANSWERS.addComponent('VerticalResults', {
maxNumberOfColumns: 1,
// Optional, whether to display the total number of results, default true
showResultCount: true,
// Optional, a modifier that will be appended to a class on the results list like this `yxt-Results--{modifier}`
modifier: 'Standard',
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar question about defaulting to Standard. Is this a purely additive classname change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This isn't a default, this is an example, I will update it to empty.

Copy link
Contributor

@nbramblett nbramblett left a comment

Choose a reason for hiding this comment

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

LGTM!

@alexisgrow alexisgrow merged commit 0d3a0ea into v1.1.0 May 5, 2020
@alexisgrow alexisgrow deleted the modifier-readme branch May 5, 2020 18:33
tmeyer2115 pushed a commit that referenced this pull request May 5, 2020
#753)

Add modifier option to the VerticalResults portion of the documentation.

TEST=none
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