feat: view.getVisible() (#45409)
* feat: view.getVisible() Co-authored-by: Samuel Maddock <smaddock@slack-corp.com> * test: visible apis Co-authored-by: Samuel Maddock <smaddock@slack-corp.com> * docs: clarify getVisible Co-authored-by: Samuel Maddock <smaddock@slack-corp.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
This commit is contained in:
parent
a07de0099c
commit
f40fc49461
4 changed files with 26 additions and 1 deletions
|
@ -45,6 +45,7 @@ class View : public gin_helper::EventEmitter<View>,
|
|||
void SetBackgroundColor(std::optional<WrappedSkColor> color);
|
||||
void SetBorderRadius(int radius);
|
||||
void SetVisible(bool visible);
|
||||
bool GetVisible() const;
|
||||
|
||||
// views::ViewObserver
|
||||
void OnViewBoundsChanged(views::View* observed_view) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue