- Sep 2023
-
rubyreferences.github.io rubyreferences.github.io
-
make_a_class::CONST = 42.tap { puts "Calculating the value" } # Prints: # In Ruby 3.1: # Calculating the value # Making a class # In Ruby 3.2: # Making a class # Calculating the value # Even simpler: NonExistentModule::CONST = 42.tap { puts "Calculating the value" } # Ruby 3.1: # Prints "Calculating the value" # raises "uninitialized constant NonExistentModule" (NameError) # Ruby 3.2: # just raises "uninitialized constant NonExistentModule" (NameError)
-
- Oct 2021
-
svelte.dev svelte.dev
- Jan 2021
-
svelte.dev svelte.dev
- Oct 2020
-
svelte.dev svelte.dev
-
Where was this referenced from? Some svelte/issues/__, I assume....
-
-
codesandbox.io codesandbox.io
-
-
This would be like an executable proposal. I understand that it's beyond the original intent of having canonical patterns on the Svelte site, but it would facilitate the community to express their own patterns. Now that we have markdown preprocessors , the documentation itself can be an app.
-
-
svelte.dev svelte.dev
-
svelte.dev svelte.dev
-
raw.githubusercontent.com raw.githubusercontent.com
-
<Playground> ```html filename=index.html
-
-
codesandbox.io codesandbox.io
-
svelte.dev svelte.dev
-
codesandbox.io codesandbox.io
-
Is that expected behavior or am I doing something wrong?
-
-
codesandbox.io codesandbox.io
-
even simpler example than the https://codesandbox.io/s/github/final-form/react-final-form/tree/master/examples/simple?from-embed=&file=/index.js it was based on
-
- Sep 2020
-
svelte.dev svelte.dev
-
svelte.dev svelte.dev
-
codesandbox.io codesandbox.io
-
Proving to myself that isValid does correctly change to true even when a key in $errors is an array.
-
-
svelte.dev svelte.dev
-
Child can't update things by reassignment if you do:
<Child bind:things={things} />
but can if you do;
<Child bind:things={$object.things} />
-
-
svelte.dev svelte.dev
-
<Child bind:things={$object.things} />
-
-
svelte.dev svelte.dev
-
Demonstrates that even though
object.value
kind of works, it will be out of date. You need to subscribe to it to get current value:$object.value
-
-
svelte.dev svelte.dev
-
svelte.dev svelte.dev
-
codesandbox.io codesandbox.io
Tags
Annotators
URL
-
- Aug 2020
-
codesandbox.io codesandbox.io
-
This illustrates the difference between two types of scrolling:
- scrolling within the dialog
- scrolling the document that includes the dialog
Tags
Annotators
URL
-
- May 2020
-
gitlab.com gitlab.com
- Dec 2019
-
bishogasaad.github.io bishogasaad.github.io
Tags
Annotators
URL
-
- Nov 2019
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
- Oct 2019
-
www.typescriptlang.org www.typescriptlang.org
-
Based on examples given in https://github.com/Microsoft/TypeScript/issues/29049
-
-
foxhound87.github.io foxhound87.github.io
-
-
codesandbox.io codesandbox.io
-
jsfiddle.net jsfiddle.net
-
codesandbox.io codesandbox.io
Tags
Annotators
URL
-
-
codesandbox.io codesandbox.io
- Sep 2019
-
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
- Aug 2019
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
-
-
codesandbox.io codesandbox.io
-
Demonstrates how label text will wrap at a point that appears to narrow when shrunk (the label can't even be as wide as the input it is labeling!), and how to work around this problem by adding styles:
'& label': { whiteSpace: 'nowrap' }
Of course, you would only want to do this if you are going to only be showing the label in shrunk state (which I think is safe to say is the case for date picker inputs), since it would look bad to actually have text overflowing outside of the input box. But if it's in "shrink" state, then it's actually above the input, so as long as there isn't another input/label directly to the right, and/or as long as we adjust the width so the right side of the label mostly lines up with the right side of the input, then I think we should be safe.
The input label "shrink" state isn't always correct. The input label is supposed to shrink as soon as the input is displaying something. In some circumstances, we can't determine the "shrink" state (number input, datetime input, Stripe input). You might notice an overlap.
To workaround the issue, you can force the "shrink" state of the label.
You need to make sure that the input is larger than the label to display correctly.
-
-
codesandbox.io codesandbox.io
-
schoolbus.netlify.com schoolbus.netlify.com
-
Liked:
- How you can't backspace to remove the country code (countryCodeEditable={false})
sourceUrl: https://github.com/lessondesk/schoolbus/blob/master/src/components/tel-input/index.js
-
-
catamphetamine.github.io catamphetamine.github.io
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
-
Updated official example to latest dependencies
-
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io
-
codesandbox.io codesandbox.io