Skip to content

canvas sizing and controls outside of the canvas #85

@hchiam

Description

@hchiam

i'd like to create a page with netplayjs displaying its canvas, but with buttons and text outside of the canvas that i can control with regular html and js - 2 questions:

  1. is there a suggested way to size netplayjs's canvas so it doesn't keep trying to resize and cover other elements on the page?
  2. is there a way to make html buttons on the page trigger (keyboard) events in netplayjs's canvas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions