dockview icon indicating copy to clipboard operation
dockview copied to clipboard

Docs / demos for vanilla js support

Open mrchantey opened this issue 1 year ago • 5 comments

Wonderful to see the release of official vanilla js support, any pointers on how to get started with it?

mrchantey avatar Aug 17 '24 02:08 mrchantey

I suppose this is the most up to date example? https://github.com/mathuo/dockview/blob/master/packages/docs/templates/dockview/basic/typescript/src/index.ts

mrchantey avatar Aug 19 '24 00:08 mrchantey

That basic example has the general idea yes but I still need to fill out the examples that exist for both React and Vue in vanilla TypeScript, working on it currently. Hoping to update the documentation soon

mathuo avatar Aug 20 '24 19:08 mathuo

for people looking for a quick getting started to using dockview-core with vanilla javascript on a web page, see here... https://gist.github.com/scrivna/3186d73bc2680088748d752a9c9144cb

scrivna avatar Jan 15 '25 19:01 scrivna

@scrivna thank you for this example, it helped me to get started.

kosirm avatar Jan 20 '25 22:01 kosirm

@mathuo @scrivna Is there a way to add panel actions in javascript? I can't find in documentation, how to add maximize/fullscreen/float/etc. buttons to panel... Any hint much appreciated.

I solved this with help of @hmpmarketing https://github.com/mathuo/dockview/issues/833

kosirm avatar Jan 20 '25 22:01 kosirm