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
Verify button icon format and created updateActionButton() #1134
Conversation
…id though) and added updateActionButton()
…tion (substituted by simple check instead)
…cting italicized text)
… to get rid of a previous icon; updated documentaion and NEWS
A few things: i) in order to use ii) There is also now a iii) In the Javascript, in order to find any potential previous icon, we look for a child of the button such that 1) it has an |
Update: |
Verify button icon format and created updateActionButton()
Added a small
isIcon()
function to make sure that users are using theicon
argument (fromactionButton
andactionLink
) correctly (ex:icon=icon("cog")
). Otherwise, throw an error.Created an
updateActionButton()
function (that applies to bothactionButton
s andactionLink
s) that allows the user to change the input object's label and/or icon.