-
Notifications
You must be signed in to change notification settings - Fork 10
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
Chore - adding examples, testing react angular #1911
Chore - adding examples, testing react angular #1911
Conversation
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.
As discussed in the office keep sync
in examples for the Genesis, and remove some of the extra examples in slider
@@ -50,16 +50,16 @@ Usage | |||
template: html` | |||
<rapid-checkbox | |||
?disabled="${(x) => x.disabled}" | |||
?checked="${sync((x) => x.isSelected, 'boolean')}" | |||
@change="${(x) => x.checkChanged()}" | |||
@change="${(x, ctx) => x.checkChanged(ctx.event)}" |
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.
Can we leave sync
in this example please. If you want to show off the event version you can leave that too and comment on the funciton saying it's a choice
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 feel there are too many examples here, these extra examples would be suited more towards storybook
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.
Much better after the changes. Just try trim out those extra lines and then we can get this in
|
||
const [switchValue, setSwitchValue] = useState(false); | ||
|
||
|
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.
Any
const [switchValue, setSwitchValue] = useState(false); | |
const [switchValue, setSwitchValue] = useState(false); |
|
||
switchValue: boolean; | ||
|
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.
switchValue: boolean; | |
switchValue: boolean; |
# Conflicts: # docs/001_develop/03_client-capabilities/007_forms/003_form-inputs/text-field.mdx # docs/001_develop/03_client-capabilities/007_forms/004_form-layout/criteria-segmented-control.mdx
# Conflicts: # examples/ui/client-capabilities/interaction/text-field.js
ATTENTION! NEW DOCS STRUCTURE
FOR THE NEXT THREE WEEKS, ONLY BRANCH FROM new-docs-structure
OTHERWISE, WAIT UNTIL THE NEW STRUCTURE HAS BEEN RELEASED
Thank you for contributing to the documentation.
Do the changes you have made apply to both Current and Previous versions?
Have you done a trial build to check all new or changed links?
Is there anything else you would like us to know?
This week's exciting advice from the style guide
Write your headings in sentence case:
This is a correct heading.
This is not a correct heading.