Skip to content

SimpleButtonBase.setOnHoverExit

Douglas Lacerda edited this page Oct 13, 2018 · 2 revisions

SimpleButtonBase.setOnHoverExit()

Parameters

function func: Function to be called.

Description

Set the function called when the mouse exits on the button.

You can test this snippet of code here.

let btn = new SimpleButtonBase(10,10,100,100);
btn.setOnHoverExit(function(){
   /*...*/
});

See also SimpleButtonBase.setOnClick, SimpleButtonBase.setOnHoverEnter and SimpleButtonBase.setOnHoverStay.

Clone this wiki locally