sourabhshivtiwari
sourabhshivtiwari

Reputation: 33

Can I use s-pen hovering on a canvas?

I have ellipsis labels (for e.g. "Sour...") drawn on canvas. Now how can I show the original string (in this case "Sourabh"), when I do S-Pen hovering?

Upvotes: 1

Views: 505

Answers (1)

user5395084
user5395084

Reputation:

I used to have a Note 3 with Lollipop, it's super easy. Use the :hover statement (like desktop). NOTICE: The :hover is also triggered when user touches the element.

.myelement:hover {
    content: "I hovered my S Pen over the element";
}

Upvotes: 1

Related Questions