Skip to content

Limitations of Manipulate in interactive HTML. #399

@kkoudas01

Description

@kkoudas01

Good evening!

I'm writing this Manipulate[a^2, {a, 0, 1}] with the intention of using it in an interactive HTML. It works perfectly fine in the WLJS notebook, but the problem arises when I try to convert it into dynamic HTML. It does get converted into HTML, but afterwards, when I change the value of the slider, nothing happens. The value of a^2 remains exactly where it was the last time I moved the slider in the WLJS notebook.

I've seen the InputRange (https://wljs.io/frontend/Reference/GUI/InputRange), but I haven't quite understood how it works—especially when I try to create something more complex, like:
Manipulate[ArcCos[Sqrt[(b^2 + c^2 - a^2)/(2*b*c)]], {a, 0, 1}, {b, 0, 1}, {c, 0, 1}].

Thank you in advance!

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