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

Add flag to indicate when focusable is true or not | Fixes #536 #563

Merged
merged 4 commits into from
Feb 16, 2018

Conversation

matuzalemsteles
Copy link
Member

No description provided.

@@ -25,6 +25,15 @@ ClayIcon.STATE = {
*/
elementClasses: Config.string(),

/**
* Flag to indicate when svg focusable or not.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: Flag to indicate if the svg is focusable or not

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks better, thanks!

@@ -20,6 +21,12 @@
{/if}
"

{if $focusable}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be written focusable="{$focusable == true}" ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the attributes do not allow bool to be used ☹️. To get as close to that focusable="{$focusable == true ? 'true' : 'false'}"(is that what you meant?). Sounds good to you?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah, leave it as it was 😄 Thx!

@carloslancha carloslancha merged commit a764232 into liferay:develop Feb 16, 2018
@carloslancha
Copy link
Contributor

Merged, thx!

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

Successfully merging this pull request may close these issues.

2 participants