• ip4下载itunes中文版 > itunes extras/itunes lp development: tunekit programming
  • itunes extras/itunes lp development: tunekit programming

    免费下载 下载该文档 文档格式:PDF   更新时间:2009-11-02   下载次数:0   点击次数:2
    文档基本属性
    文档语言:Simplified Chinese
    文档格式:pdf
    文档作者:LXY
    关键词:
    主题:
    备注:
    点击这里显示更多文档属性
    iTunes Extras/iTunes LP Development TuneKit Programming Guide v1.0
    page 1
    iTunes Extras/iTunes LP Development: TuneKit Programming Guide v1.0
    11-18-2009 2009 Apple Inc. All rights reserved
    iTunes Extras/iTunes LP Development TuneKit Programming Guide v1.0
    page 2
    Contents
    TuneKit Reference TKController View Outlets Actions Navigation Custom Transitions Callbacks TKNavigationController TKTabController TKPageSliderController Image faders (hover buttons) Preloading image assets Background Audio Navigation on the Apple TV
    3 3 3 3 3 3 4 4 4 5 5 5 6 6 7
    2009 Apple Inc. All rights reserved
    iTunes Extras/iTunes LP Development TuneKit Programming Guide v1.0
    page 3
    TuneKit Reference
    The TuneKit controller classes are designed to streamline the creation of Cocktail booklets that follow basic design patterns. Using the TuneKit controllers, authors can use JSON to instantiate most of the controllers' properties and rely on an automated spatial keyboard and Apple Remote focus navigation across interactive portions of the booklet. This document gives an introduction to the TuneKit framework. For more comprehensive details, refer to the TuneKit API documentation.
    TKController
    The TKController class is the base class for all controllers, as such all of its properties apply to other controller types described below. A basic controller is instantiated as follows: var controller = new TKController({ id: 'home', actions : [ { selector: '.play', action: bookletController.playFeature } ], navigatesTo : [ { selector: '.chapters', controller: chaptersController }, { selector: '.extras', controller: extrasController } ] }); In this example, we create a controller which will automatically load the element with id "home" and wires up actions and navigation anchors to its content.
    View
    Controllers manage an HTML fragment referred to as the view. The view is loaded dynamically by first looking for an element in the existing DOM tree with the given id property, and if it cannot be found, loading the content of the HTML page in the booklet's views/ directory with the filename of the id. If this also fails, an empty element with that id is created.

    下一页

  • 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
  • 免费下载 PDF格式下载
  • 您可能感兴趣的
  • itunes下载中文版  苹果itunes中文版下载  itunes中文版免费下载  下载itunes软件中文版  itunesu中文版下载  itunes最新下载中文版  itunes5.01下载中文版  itunes10.4中文版下载  itunes中文版官方下载