CatJS 0.4.45

API reference

TBD Generated API Docs

Plugins

You can explore our plugins folder.

  • JQM

    • scrollTop()

    • swipePageLeft()

    • swipePageRight()

    • backClick()

    • scrollTo(elt)

      • elt Can be reference or a JQuery id or class (e.g. #foo, #foo .foo)
    • scrollToWithRapper(idName, rapperId)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
      • rapperId Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • clickRef(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • clickButton(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • selectTab(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • swipeItemLeft(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • swipeItemRight(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • click(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • setCheck(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • collapsible(idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
    • slide(idName, value)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
      • value
    • setText(idName, value)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
      • value
    • checkRadio(className, idName)

      • idName Can be reference or a JQuery query (e.g. #foo, #foo .foo)
      • className
    • searchInListView(listViewId, newValue)

      • listViewId Can be reference or a JQuery query (e.g. #foo, #foo .foo)
      • newValue
    • selectMenu(selectId, value)

      • selectId Can be reference or a JQuery query (e.g. #foo, #foo .foo)
      • value
  • Sencha Touch

    • fireTap(extElement)

    • setText(extElement, value)

    • setTextValue(extElement, value)

    • tapButton(btn)

    • setChecked(checkItem)

    • setUnchecked(checkItem)

    • setSliderValue(sliderId, value)

    • setSliderValues(sliderId, value1, value2)

    • setToggle(toggleId, value)

    • changeTab(barId, value)

    • scrollBy(itemId, horizontalValue, verticalValue)

    • scrollToTop(itemId)

    • scrollToEnd(itemId)

    • scrollToListIndex(listId, index)

    • carouselNext(carouselId)

    • carouselPrevious(carouselId)

    • nestedlistSelect(nestedlistId, index)

    • nestedlistBack(nestedlistId)

    • listSelectIndex(listId, index)

    • changeView(viewName)

    • removePanel(panelId)

    • setDate(dateItemId, year, month, day)

  • Enyo Partly supported

    • waterfall(element, eventName)
    • setSelected(element, name, idx, eventname)
    • next(element)
  • DOM Partly supported

    • listen(name, idName, callback)
    • fire(name, idName)
  • Angular Will be available on next releases...

Note: If you need more API support, just ask :)

Applications That Test Themselves