Home > PHP > Function > > HaruAnnotation::setOpened()

HaruAnnotation::setOpened()

HaruAnnotation::setOpened - Set the initial state of the annotation

Syntax

bool HaruAnnotation::setOpened (bool $opened)

Arguments

  • opened - TRUE means the annotation is initially displayed open, FALSE - means it\'s closed.

Description

Defines whether the annotation is initially displayed open. This function may be used with text annotations only.

Version

PHP PECL haru >= 0.0.1

Return value

Returns TRUE on success.