Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

t/62: Enabled rich tooltips in the ButtonView. #144

Merged
merged 2 commits into from
Dec 22, 2016
Merged

t/62: Enabled rich tooltips in the ButtonView. #144

merged 2 commits into from
Dec 22, 2016

Conversation

oleq
Copy link
Member

@oleq oleq commented Dec 20, 2016

@oleq
Copy link
Member Author

oleq commented Dec 20, 2016

This is what it looks like:

dec-20-2016 12-29-28

@oskarwrobel oskarwrobel self-requested a review December 21, 2016 11:02
it( 'is not initially set ', () => {
expect( view.element.attributes.title ).to.undefined;
expect( view.element.attributes[ 'data-ck-tooltip' ] ).to.undefined;
Copy link
Contributor

Choose a reason for hiding this comment

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

You probably know that but it is possible to set and get data-* by element.dataset, view.element.dataset.ckTooltip

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't know about that ;-) DOM surprises me each day.

@oskarwrobel oskarwrobel merged commit bc551da into master Dec 22, 2016
@oskarwrobel oskarwrobel deleted the t/62 branch December 22, 2016 07:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants