Sicilian7 9 Share Posted August 9, 2020 The Widget API provides two methods for widgets, namely isVisible(),isHidden() Are these just boolean inverses? Or do they refer to two different things entirely? Link to comment Share on other sites More sharing options...
Pandemic 2426 Share Posted August 9, 2020 They are not inverses of each other, isHidden is checking a field in the RS widget class, isVisible is comparing loop cycles I think they'd always be the inverse, but there's a chance it could be different. isVisible is the preferred way to check, it should be a bit more performant. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now