Fabian Iwand
Fabian Iwand
> You can sort of achieve this with Text({type: "number", submit: true}). Note that `step` isn't set on the input, which makes this only useful in a very limited number...
@tx0c For inputs that trigger queries I would recommend to always use the `{submit: true}` option.
This issue is probably going to remain open for a while longer, so here's a simple helper: ```js function debounce(input, delay = 500) { class E extends Event {} let...
"disabled" would seem like a sensible choice?
> Where can I find these packages? As pointed out by @eiiot, these are notebook modules that need to be imported from api.observablehq.com. You can find them declared in an...
I believe the options handling can be simplified: ```javascript export default function(width, height, options = {}) { const { scale = devicePixelRatio, ...contextOptions } = !isNaN(options) ? {scale: options} :...
Aside: I originally intended to have two separate lists. In marked up until version 3.0.0 this can be achieved by separating the lists with *two* newlines. From version 3.0.0 and...
Should the `pyodide` instance be exposed so that you can e.g. load `micropip`?
I believe DOM.element is still relevant, as it facilitates attribute composition and escaping. Some of the issues with template strings are outlined here: https://observablehq.com/@mootari/attribute-escaping-in-template-strings That being said, personally I could...
I'm looking at https://github.com/observablehq/database-proxy/blob/795cd62bac6fc5c7ee79b1b96fc21f06855d0e0d/lib/mysql.js#L10 and https://github.com/observablehq/database-proxy/blob/795cd62bac6fc5c7ee79b1b96fc21f06855d0e0d/lib/postgres.js#L9 and they seem to work differently? We should probably be careful that we don't overload the definition of what a pool is, or how...