Tooltip

com.alecdorrington.annotatedtextformat.dom.Tooltip
See theTooltip companion class
object Tooltip

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tooltip.type

Members list

Type members

Classlikes

final class Showing

One showing of tooltip: what it shows from when it opens for a line, until it closes or shows something else.

One showing of tooltip: what it shows from when it opens for a line, until it closes or shows something else.

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(document: Document, styles: String = ..., sheets: Seq[CSSStyleSheet] = ..., interactive: Boolean = ..., label: String = ..., closed: Boolean = ..., reserve: Double = ...): Tooltip

A tooltip for document, not yet in it, whose content is styled within its shadow root by the CSS styles, as .card { padding: 8px }, and by sheets, made for document, and which the pointer may move onto and use, unless not interactive, when it is named label, as for a reader of the screen. Its shadow root is closed to the page's scripts if so. It opens where there is room for it to be reserve tall, if it is not already, as for an entry that will fill it, in pixels.

A tooltip for document, not yet in it, whose content is styled within its shadow root by the CSS styles, as .card { padding: 8px }, and by sheets, made for document, and which the pointer may move onto and use, unless not interactive, when it is named label, as for a reader of the screen. Its shadow root is closed to the page's scripts if so. It opens where there is room for it to be reserve tall, if it is not already, as for an entry that will fill it, in pixels.

The page's own rules for every element, as * { padding: 0 }, outweigh rules for the host, :host, unless those are marked !important, as its own are; so mark those of styles too, but never top, left or all, which would then outweigh where it is placed.

Attributes