Windows Namo WebEditor ONE
latest

Introduction

  • What is Namo WebEditor ONE?
  • Environment
  • License

Tutorial

  • Basic
  • Widget usage

Screen

  • Screen
  • Menu
  • Toolbar
  • Canvas
  • Left Panel
  • Right Panel
  • Developer View
  • Project Properties

Widgets

  • Sheet
  • Widgets

External API

  • Javascript for Widget
    • Initialize
    • Multiple versions of jQuery
    • Widgets
      • Transition
      • Carousel
      • Collapsible
      • Flip Switch
      • Google Map
      • Panel
      • Popup
      • Slider
      • Range Slider
      • Tab View
      • Switch
      • Webmovie
      • Movie
      • Widgets without further methods

Version

  • Release Notes
Windows Namo WebEditor ONE
  • Docs »
  • Javascript for Widget »
  • Carousel
  • Edit on GitHub

CarouselΒΆ

  1. jQuery Plugin

    $.fn.carousel()
    
  2. jQuery data key

    IU_WIDGET.CAROUSEL

    • Example
    var Carousel = $('#id').data(IU_WIDGET.CAROUSEL)
    
  3. Option

    Member description
    .callbackMove Callback function when the animation has finished
  4. Method

    Method description
    .reload() Reload carousel
    .destroy() Destroy carousel
    .pause() Pause carousel if carousel is set autoplay
    .start() Start carousel if carousel is set autoplay
    .moveNext() Go to next item
    .movePrev() Go to prev item
    .moveCurrent() Reset to current item
    .move(index, translateX) Go to (index) item with translateX value
  5. Method Detail

    Method Param Type Description
    .move(index, translateX) toIndex number index of carousel item
      translateX number css : translateX
Next Previous

© Copyright 2019, NamoEditor Revision 15abdcc9.

Built with Sphinx using a theme provided by Read the Docs.