Skip to content
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

Symbol.for("observablehq.display") #84

Closed
wants to merge 1 commit into from
Closed

Symbol.for("observablehq.display") #84

wants to merge 1 commit into from

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Nov 1, 2023

closes #51

To use:

```js
display(
  Object.assign([...penguins], {
    [Symbol.for("observablehq.display")]: Inputs.table
  })
);
```

TODO:

  • Should it also work in ${} interpolations? (This currently applies only in the display function.)
  • Test
  • Document

Note: it doesn't seem urgent, we could try and see how far we go without this.

@Fil Fil requested a review from mbostock November 1, 2023 15:41
Copy link
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we close this for now, and reopen when there’s demand?

@Fil
Copy link
Contributor Author

Fil commented Nov 22, 2023

yep, it's not high on the list

@mbostock mbostock closed this Nov 22, 2023
@Fil Fil deleted the fil/display-symbol branch February 2, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom inspectors
2 participants