gosling.js icon indicating copy to clipboard operation
gosling.js copied to clipboard

`embed` function handle usage for Observable

Open etowahadams opened this issue 1 year ago • 0 comments

Make the "core" embed function handle usage in Observable. Basically overload the "core" embed to do what embed does in embed/index.ts, creating an element depending on the number of arguments and returning the wrapper. We have this code as vega-embed as reference.

from: https://github.com/gosling-lang/gosling.js/pull/977#discussion_r1359665192

etowahadams avatar Oct 16 '23 22:10 etowahadams