Skip to content

Build as a web component #326

@alexandermendes

Description

@alexandermendes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions