serifFont

abstract fun serifFont(): Font

Returns the serif font of the browser.

Since

2026.7.0

Throws

when the browser is closed


abstract fun serifFont(font: Font)

Sets the serif font of the browser.

Since

2026.7.0

Parameters

font

the new serif font

Throws

when the browser is closed