class final readonly Optional · pdftoolkit/pdf-to-html 0.8.4

PDF\Html\Forms\WidgetHighlightStyle
Trusted, bounded CSS for pointer interaction; author CSS retains its priority.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Html\Forms\HighlightingMode $mode, string $identifier)

Declared by PDF\Html\Forms\WidgetHighlightStyle · View the code ↗

Declared methods

apply()

public function apply(PDF\Html\Html\Element $field, array $declarations): array
@param array<string, string> $declarations
@return array<string, string>

Declared by PDF\Html\Forms\WidgetHighlightStyle · View the code ↗

css()

public function css(bool $downAppearance = false, bool $rolloverAppearance = false): string

Declared by PDF\Html\Forms\WidgetHighlightStyle · View the code ↗