New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hs.webview.toolbar.get? #2109
Comments
FYI: I tried doing this myself, but failed, so will have to leave to someone smarter to tackle. |
What exactly are you wanting? To get a toolbar object based on it's identifier (or nil, if it doesn't exist)? Or just a way to see if a specific identifier is already in use? Not sure how to do the former, but the later would be simple since we track in-use identifiers in |
@asmagill - Awesome, thanks! I'll have another look at this and see what I can come up with. |
Take a look at the constructor for the module, around line 808 of |
Currently when you use
hs.webview.toolbar.new
you need to assign each toolbar object with a unique name. However, currently there's no way to check that name isn't already in use.The text was updated successfully, but these errors were encountered: