How To Flip Up Shapes In Shiny By Clicking A Button? November 17, 2024 Post a Comment I want to include a semantic shape element in my shiny app (shapes: https://semantic-ui.com/modules/shape.html#/usage). I am able to construct the shape by using shinyjs and shinySolution 1: I think you need this JS code:jsCode <- " $('.shape').shape();$('#test').on('click', function(){$('.shape').shape('flip up');}); " CopyOr just:jsCode <- " $('.shape').shape(); "Copyand in the ui: tags$button(id="test", class="ui button", "Flip", onclick="$('.shape').shape('flip up');") Copy Share Post a Comment for "How To Flip Up Shapes In Shiny By Clicking A Button?"
Post a Comment for "How To Flip Up Shapes In Shiny By Clicking A Button?"