Skip to content
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

ActionButton States #59

Closed
ethicus954 opened this issue Apr 13, 2023 · 3 comments
Closed

ActionButton States #59

ethicus954 opened this issue Apr 13, 2023 · 3 comments

Comments

@ethicus954
Copy link

Couldn't really find the syntax for the different states for ActionButtons.
I might overseen it, is this supported ?

I now use:
`"actionButton": {
"*": {
"visualHeader": [{
"show": true
}],
"border": [{
"show": false
}],
"text":[{
"show":true
},
{
"$id": "default",
"transparency": 0,
"fontColor": {"solid":{"color":"#D91F43"}},
"fontFamily": "Arial",
"bold": false
},
{
"$id": "hover",
"transparency": 0,
"fontColor": {"solid":{"color":"#ffffff"}},
"fontFamily": "Arial",
"bold": false
},
{
"$id": "selected",
"transparency": 0,
"fontColor": {"solid":{"color":"#ffffff"}},
"fontFamily": "Arial",
"bold": false
}],

    }`
@ethicus954
Copy link
Author

So did figured out that the actionbutton has these states:

"$id": "default",
"$id": "hover",
"$id": "disabled",

The new page navigation and bookmark navigation uses:
"$id": "default",
"$id": "hover",
"$id": "press",
"$id": "selected",

@ethicus954
Copy link
Author

Press doesn't seems to work on ActionButton

@yelper
Copy link
Collaborator

yelper commented Jun 21, 2024

$id hints have been added to recent schemas (April onward)

@yelper yelper closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants