ToggleButton icon indicating copy to clipboard operation
ToggleButton copied to clipboard

How to check the on / off state of the toggle button

Open deepakrana0011 opened this issue 7 years ago • 2 comments

Hello,

I want to know how can I check a toggle button is on or off. Please help me out.

Thank You

deepakrana0011 avatar Dec 29 '17 10:12 deepakrana0011

You have to manage state from your end

toggleBtn.setOnToggleChanged {
            if(it){
                toggleState = true;
            }else{
                toggleState = false;
            }
        }

shuBomb avatar Oct 11 '22 19:10 shuBomb

这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

AbelGit avatar Oct 11 '22 19:10 AbelGit