-
Notifications
You must be signed in to change notification settings - Fork 18
Documentation fixes #688
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
Merged
Merged
Documentation fixes #688
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
177 changes: 91 additions & 86 deletions
177
...app/components/examples/radio/properties/radio-properties/radio-properties.component.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,88 +1,93 @@ | ||
| <dxc-heading [level]="4" weight="normal" text="Properties" [margin]="{bottom:'small'}"></dxc-heading> | ||
| <dxc-heading | ||
| [level]="4" | ||
| weight="normal" | ||
| text="Properties" | ||
| [margin]="{ bottom: 'small' }" | ||
| ></dxc-heading> | ||
| <dxc-table> | ||
| <tr> | ||
| <th>Name</th> | ||
| <th>Default</th> | ||
| <th>Description</th> | ||
| </tr> | ||
| <tr> | ||
| <td>checked: boolean</td> | ||
| <td> | ||
| <code>false</code> | ||
| </td> | ||
| <td> | ||
| If true, the radio is selected. If undefined the component will be | ||
| uncontrolled and the value will be managed internally by the | ||
| component. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>value: any</td> | ||
| <td></td> | ||
| <td> | ||
| Will be passed to the value attribute of the html input element. | ||
| When inside a form, this value will be only submitted if the radio is checked. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>label: string</td> | ||
| <td></td> | ||
| <td>Text to be placed next to the radio.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>labelPosition: string ('before' | 'after')</td> | ||
| <td> | ||
| <code>'before'</code> | ||
| </td> | ||
| <td>Whether the label should appear after or before the radio.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>name: string</td> | ||
| <td></td> | ||
| <td>Name attribute of the input element.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>disabled: boolean</td> | ||
| <td> | ||
| <code>false</code> | ||
| </td> | ||
| <td>If true, the component will be disabled.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>required: boolean</td> | ||
| <td> | ||
| <code>false</code> | ||
| </td> | ||
| <td> | ||
| If true, the radio will change its appearence, showing that the value | ||
| is required. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>onChange: EventEmitter</td> | ||
| <td></td> | ||
| <td> | ||
| This function will be called when the user clicks the radio. The new | ||
| value will be passed as a parameter. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>margin: any (string | object)</td> | ||
| <td></td> | ||
| <td> | ||
| Size of the margin to be applied to the component ('xxsmall' | | ||
| 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'). You | ||
| can pass an object with 'top', 'bottom', 'left' and 'right' properties | ||
| in order to specify different margin sizes. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>size: any (string | object)</td> | ||
| <td> | ||
| <code>'fitContent'</code> | ||
| </td> | ||
| <td> | ||
| Size of the component ('small' | 'medium' | 'large' | 'fillParent' | 'fitContent'). | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <th>Name</th> | ||
| <th>Default</th> | ||
| <th>Description</th> | ||
| </tr> | ||
| <tr> | ||
| <td>checked: boolean</td> | ||
| <td> | ||
| <code>false</code> | ||
| </td> | ||
| <td> | ||
| If true, the radio is selected. If undefined the component will be | ||
| uncontrolled and the value will be managed internally by the component. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>value: string</td> | ||
| <td></td> | ||
| <td> | ||
| Will be passed to the value attribute of the html input element. When | ||
| inside a form, this value will be only submitted if the radio is checked. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>label: string</td> | ||
| <td></td> | ||
| <td>Text to be placed next to the radio.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>labelPosition: 'before' | 'after'</td> | ||
| <td> | ||
| <code>'before'</code> | ||
| </td> | ||
| <td>Whether the label should appear after or before the radio.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>name: string</td> | ||
| <td></td> | ||
| <td>Name attribute of the input element.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>disabled: boolean</td> | ||
| <td> | ||
| <code>false</code> | ||
| </td> | ||
| <td>If true, the component will be disabled.</td> | ||
| </tr> | ||
| <tr> | ||
| <td>required: boolean</td> | ||
| <td> | ||
| <code>false</code> | ||
| </td> | ||
| <td> | ||
| If true, the radio will change its appearence, showing that the value is | ||
| required. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>onChange: EventEmitter</td> | ||
| <td></td> | ||
| <td> | ||
| This function will be called when the user clicks the radio. The new value | ||
| will be passed as a parameter. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>margin: string | object</td> | ||
| <td></td> | ||
| <td> | ||
| Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | | ||
| 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'). You can pass an | ||
| object with 'top', 'bottom', 'left' and 'right' properties in order to | ||
| specify different margin sizes. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td>size: string</td> | ||
| <td> | ||
| <code>'fitContent'</code> | ||
| </td> | ||
| <td> | ||
| Size of the component ('small' | 'medium' | 'large' | 'fillParent' | | ||
| 'fitContent'). | ||
| </td> | ||
| </tr> | ||
| </dxc-table> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.