Skip to content

Commit

Permalink
added dispatch_event=TRUE
Browse files Browse the repository at this point in the history
added dispatch_event=TRUE
  • Loading branch information
siddhesh195 committed Jul 20, 2024
1 parent 56a5007 commit 1f613b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/testthat/test-renderer1-knit-print.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ test_that("clicking bottom legend adds/remove points", {
})
clickSide<- function(position=NULL){
if(position=="top"){
runtime_evaluate_helper(id=as.character("plot1top"),class_name='show_hide_selector_widgets',list_num=0)
runtime_evaluate_helper(id=as.character("plot1top"),class_name='selectize-input',list_num=0)
}else{
runtime_evaluate_helper(id=as.character("plot1bottom"),class_name='show_hide_selector_widgets',list_num=0)
runtime_evaluate_helper(id=as.character("plot1bottom"),class_name='selectize-input',list_num=0)
runtime_evaluate_helper(id=as.character("plot1top"),class_name='show_hide_selector_widgets',list_num=0,dispatch_event=TRUE)
runtime_evaluate_helper(id=as.character("plot1top"),class_name='selectize-input',list_num=0,dispatch_event=TRUE)
}else if(position=="bottom"){
runtime_evaluate_helper(id=as.character("plot1bottom"),class_name='show_hide_selector_widgets',list_num=0,dispatch_event=TRUE)
runtime_evaluate_helper(id=as.character("plot1bottom"),class_name='selectize-input',list_num=0,dispatch_event=TRUE)
}
}

Expand Down

0 comments on commit 1f613b7

Please sign in to comment.