• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • HaruOutline::setOpened()

    (PECL haru >= 0.0.1)

    Set the initial state of the outline

    说明

    HaruOutline::setOpened(bool $opened): bool

    Defines whether this node is opened or not when the outline is displayed for the first time.

    参数

    $opened

    TRUE means open,FALSE- closed.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。