Open gubi opened 5 years ago
$('<a>', {"href": "javascript:;"}).append( $('<span>', {"class": "fas fa-expand"}) ).click((e) => { $("#graph").fullscreen({ toggleClass: "fullscreen" }) console.log($.fullscreen.isFullScreen()); console.log($("#graph").hasClass("fullscreen")); })
When I click on the button the console reports this:
false true
When I click on the button the console reports this: