class SAPO.Widget.IdSapo Defined in Widget/IdSapo/0.1/lib.js

Property Summary
Object animate
methods for slideUp and slideDown

Constructor Summary
IdSapo (Object options)

Function Summary
Private Integer getHeight (DOMElement target)
Get the real height of an element
slideDown (DOMElement target, Function callback, Integer speed)
slide down an element
slideUp (DOMElement target, Function callback, Integer speed)
slide up an element

Property Details

property Object animate

methods for slideUp and slideDown

Constructor Details

constructor IdSapo

IdSapo(Object options)
Parameters:
options
  • [ String|Object target ] - The top element that defines the Widget
  • [ String cssURI ] - uri for the stylesheet
  • [ String endpoint ] - uri for the endpoint

Function Details

function getHeight

Private Integer getHeight(DOMElement target)
Get the real height of an element
Parameters:
target

function slideDown

slideDown(DOMElement target, Function callback, Integer speed)
slide down an element
Parameters:
target
callback
speed

function slideUp

slideUp(DOMElement target, Function callback, Integer speed)
slide up an element
Parameters:
target
callback
speed