Skip to content

JS errors when using cheetah outside Shiny #27

Closed
@DivadNojnarg

Description

@DivadNojnarg

Some piece of code need to be isolated. For instance, this can only work in a Shiny context, if HTMLWidgets.shinyMode === true:

grid.listen(
            CLICK_CELL, (...args) => {
              Shiny.setInputValue(`${id}_click_cell`, args);
            }
          );
cheetah.js:54 Uncaught ReferenceError: Shiny is not defined
    at ListGrid.<anonymous> (cheetah.js:54:1)
(anonymous)	@	

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions