Code Monkey home page Code Monkey logo

Comments (6)

btco avatar btco commented on June 25, 2024 2

There is now also a way to specify:

  • What element the canvas should be added to (CONFIG.CANVAS_SETTINGS.CONTAINER)
  • Whether or not QX82 should auto-position and/or auto-size the canvas (CONFIG.CANVAS_SETTINGS.AUTO_POSITION and AUTO_SIZE)
  • What ID and CSS classes to assign to the canvas (CONFIG.CANVAS_SETTINGS.CANVAS_ID and CANVAS_CLASSES).

from qx82.

photonstorm avatar photonstorm commented on June 25, 2024 1

I think the request is just asking to pass an id where the canvas will be appended (it's parent element) as opposed to adding it directly in the body.

I agree there's no point adding a feature to pass in a canvas element to actually use, but a parent makes sense.

from qx82.

btco avatar btco commented on June 25, 2024

Good idea!

from qx82.

btco avatar btco commented on June 25, 2024

Thinking about this, but it's non-trivial because the canvas needs to have a pretty specific configuration in terms of width, height, etc to match the config...

from qx82.

btco avatar btco commented on June 25, 2024

from qx82.

btco avatar btco commented on June 25, 2024

Just a note that I'm currently working on this and expect to have a solution soon-ish.

from qx82.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.