-
Notifications
You must be signed in to change notification settings - Fork 78
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
DOC-458 FieldTable documentation revision #356
Conversation
fbeaudoincoveo
commented
Feb 14, 2017
@@ -12,6 +12,9 @@ export interface IBadgeOptions extends IFieldValueOptions { | |||
colors: IBadgeColors; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the IBadgeColors
/ IBadgeColor
is used to specify the colors
options as well as in the parseColors
, getColor()
, and renderOneValue()
public methods, do you think it would be a good idea to expose these interfaces in the public doc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
*/ | ||
separator: ComponentOptions.buildStringOption({ defaultValue: ';' }), | ||
separator: ComponentOptions.buildStringOption({ depend: 'splitValues', defaultValue: ';' }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made this depend of splitValues
being true
because it seems to make sense. Please make sure this is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
*/ | ||
displaySeparator: ComponentOptions.buildStringOption({ defaultValue: ', ' }), | ||
displaySeparator: ComponentOptions.buildStringOption({ depend: 'splitValues', defaultValue: ', ' }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See previous comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* Specifies whether the table is minimized by default. | ||
* If {@link FieldTable.options.allowMinimization} is `true`, specifies whether to minimize the table by default. | ||
* | ||
* Default value is `undefined`, and the FieldTable will collapse by default if the result it is associated with has |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure this information is correct :)
@@ -12,6 +12,9 @@ export interface IBadgeOptions extends IFieldValueOptions { | |||
colors: IBadgeColors; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
*/ | ||
separator: ComponentOptions.buildStringOption({ defaultValue: ';' }), | ||
separator: ComponentOptions.buildStringOption({ depend: 'splitValues', defaultValue: ';' }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
*/ | ||
displaySeparator: ComponentOptions.buildStringOption({ defaultValue: ', ' }), | ||
displaySeparator: ComponentOptions.buildStringOption({ depend: 'splitValues', defaultValue: ', ' }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍