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

Build as a web component #326

Open
alexandermendes opened this issue Mar 19, 2018 · 0 comments
Open

Build as a web component #326

alexandermendes opened this issue Mar 19, 2018 · 0 comments

Comments

@alexandermendes
Copy link
Member

alexandermendes commented Mar 19, 2018

Official web components integration:

https://github.com/vuejs/vue-web-component-wrapper

Basically, we might be able to generate a <libcrowds-viewer> tag that can be imported into any HTML page, not just Vue applications. This could be really useful for embedding examples into blog posts or any other webpage.

This would rely on removing any properties currently defined as objects though.

  • Task options: Should be happening in Move all task options to the viewer #325
  • Button options: could be flattened.
  • Annotations: can pass in a URL instead, which would be preferable anyway.
  • Form options: presents perhaps the only foreseeable difficulty at the moment.
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

No branches or pull requests

1 participant