버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

Sv translation
languageen

This interface provides several utility APIs required for developing web content elements.

log()

  • Description

    Find the version of W Player API Library imported by web content.

  • Syntax

    function log(“message”);

  • Parameter

    message: string

  • Return value

    Type: void

  • Code example

    $wp.utility.log(“Hello World!”);

  • Others

    Import logs remotely. Refer to the following: ▶ 로그 가져오기 Importing logs

getApiVersion()

  • Description

    View the version of W Player API Library supported by the Web Player on which web content is run.

  • Syntax

    function getApiVersion();

  • Parameter

    None

  • Return value

    Success: string (version), fail: Always successful

  • Code example

    $wp.utility.getApiVersion();

  • Others

    Version management is possible through use along with $wp.local.getApiVersion();.