| |
Actor(String/HTMLElement el, [YAHOO.ext.Animator animator], [Boolean selfCapture]) |
Actor |
| Create new Actor. |
| |
addAsyncCall(Function fcn, Number callbackIndex, [Array args], [Object scope]) : void |
Actor |
| Capture an async function call. |
| |
addCall(Function fcn, [Array args], [Object scope]) : void |
Actor |
| Capture a function call. |
| |
addClass() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.addClass for method details. |
| |
addClassOnOver(String className) : YAHOO.ext.Element |
Element |
| Sets up event handlers to add and remove a css class when the mouse is over this element |
| |
addHandler(String eventName, Boolean stopPropagation, Function handler, [Object scope], [boolean override]) : YAHOO.ext.Element |
Element |
| Appends an event handler to this element. The difference between this function and addListener is this
function preve... |
| |
addKeyListener(Number/Array/Object/String key, Function fn, [Object scope]) : YAHOO.ext.KeyMap |
Element |
| Convenience method for constructing a KeyMap |
| |
addKeyMap(Object config) : YAHOO.ext.KeyMap |
Element |
| Creates a KeyMap for this element |
| |
addListener(String eventName, Function handler, [Object scope], [boolean override]) : YAHOO.ext.Element |
Element |
| Appends an event handler to this element |
| |
addManagedListener(String eventName, Function fn, [Object scope], [boolean override]) : Function |
Element |
| Append a managed listener - See YAHOO.ext.EventObject for more details. Use mon() for a shorter version. |
| |
alignTo() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.alignTo for method details. |
| |
animate() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.animate for method details. |
| |
appear([Float duration]) : void |
Actor |
| Fade an element in |
| |
appendChild(String/HTMLElement/Array/Element/CompositeElement el) : YAHOO.ext.Element |
Element |
| Appends the passed element(s) to this element |
| |
appendTo(String/HTMLElement/Element el) : YAHOO.ext.Element |
Element |
| Appends this element to the passed element |
| |
applyStyles(String/Object/Function styles) : YAHOO.ext.Element |
Element |
| More flexible version of setStyle for setting style properties. |
| |
autoHeight() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.autoHeight for method details. |
| |
beginMeasure() : YAHOO.ext.Element |
Element |
| Temporarily enables offsets (width,height,x,y) for an element with display:none, use endMeasure() when done. |
| |
blindHide(String anchor, [Float duration], [Function easing]) : void |
Actor |
| Hide the element using a "blinds" effect |
| |
blindShow(String anchor, [Number newSize], [Float duration], [Function easing]) : void |
Actor |
| Show the element using a "blinds" effect |
| |
blur() : YAHOO.ext.Element |
Element |
| Tries to blur the element. Any exceptions are caught. |
| |
bounce() : void |
Actor |
| Bounce this element from up and down |
| |
bufferedListener(String eventName, Function handler, [Object scope], [Number millis]) : Function |
Element |
| Appends an event handler to this element that is buffered. If the event is triggered more than once
in the specified ... |
| |
capture(YAHOO.ext.Actor.Action action) : void |
Actor |
| Captures an action for this actor. Generally called internally but can be called directly. |
| |
center([String/HTMLElement/YAHOO.ext.Element centerIn]) : void |
Element |
| Centers the Element in either the viewport, or another Element. |
| |
clear() : void |
Actor |
| Clears any calls that have been self captured. |
| |
clearOpacity() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.clearOpacity for method details. |
| |
clearPositioning() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.clearPositioning for method details. |
| |
clip() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.clip for method details. |
| |
createChild(Object config, [HTMLElement insertBefore]) : YAHOO.ext.Element |
Element |
| Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e... |
| |
createProxy(String/Object config, [String/HTMLElement renderTo], [Boolean matchBox]) : YAHOO.ext.Element |
Element |
| Creates a proxy element of this element |
| |
createShim() : YAHOO.ext.Element |
Element |
| Creates an iframe shim for this element to keep selects and other windowed objects from
showing through. |
| |
dropOut([Float duration]) : void |
Actor |
| Fade the element as it is falling from it's current position |
| |
enableDisplayMode() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.enableDisplayMode for method details. |
| |
endMeasure() : YAHOO.ext.Element |
Element |
| Restores displays to before beginMeasure was called |
| |
fade([Float duration]) : void |
Actor |
| Fade an element out |
| |
fitToParent([Boolean monitorResize]) : YAHOO.ext.Element |
Element |
| Sizes this element to it's parent element's dimensions performing
neccessary box adjustments. |
| |
focus() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.focus for method details. |
| |
frame([Number color], [Number count], [Float duration]) : void |
Actor |
| Show a ripple of exploding, attenuating borders to draw attention to an Element. |
| |
get<static>(String/HTMLElement/Element el, [Boolean autoGenerateId]) : Element |
Element |
| <static> Static method to retreive Element objects. Uses simple caching to consistently return the same object.... |
| |
getBorderWidth(String side) : Number |
Element |
| Gets the width of the border(s) for the specified side(s) |
| |
getBottom(Boolean local) : Number |
Element |
| Gets the bottom Y coordinate of the element (element Y position + element height) |
| |
getBox([Boolean contentBox], [Boolean local]) : Object |
Element |
| Return a box {x, y, width, height} that can be used to set another elements
size/location to match this element. |
| |
getCenterXY(Boolean offsetScroll) : Array |
Element |
| Calculates the x, y to center this element on the screen |
| |
getChildrenByClassName(String className, [String tagName]) : Array |
Element |
| Gets an array of child YAHOO.ext.Element objects by class name and optional tagName |
| |
getChildrenByTagName(String tagName) : Array |
Element |
| Gets an array of child YAHOO.ext.Element objects by tag name |
| |
getHeight([Boolean contentHeight]) : Number |
Element |
| Returns the offset height of the element |
| |
getLeft(Boolean local) : Number |
Element |
| Gets the left X coordinate |
| |
getMargins([String sides]) : Object/Number |
Element |
| Returns an object with properties top, left, right and bottom representing the margins of this element unless sides i... |
| |
getNextSibling() : HTMLElement |
Element |
| Gets the next sibling, skipping text nodes |
| |
getPadding(String side) : Number |
Element |
| Gets the width of the padding(s) for the specified side(s) |
| |
getPositioning() : Object |
Element |
| Gets an object with all CSS positioning properties. Useful along with setPostioning to get
snapshot before performin... |
| |
getPrevSibling() : HTMLElement |
Element |
| Gets the previous sibling, skipping text nodes |
| |
getRegion() : Region |
Element |
| Returns the region of the given element.
The element must be part of the DOM tree to have a region (display:none or e... |
| |
getRight(Boolean local) : Number |
Element |
| Gets the right X coordinate of the element (element X position + element width) |
| |
getSize([Boolean contentSize]) : Object |
Element |
| Returns the size of the element |
| |
getStyle(String property) : String |
Element |
| Normalizes currentStyle and ComputedStyle. |
| |
getTop(Boolean local) : Number |
Element |
| Gets the top Y coordinate |
| |
getUpdateManager() : YAHOO.ext.UpdateManager |
Element |
| Gets this elements UpdateManager |
| |
getWidth([Boolean contentWidth]) : Number |
Element |
| Returns the offset width of the element |
| |
getX() : void |
Element |
| Gets the current X position of the element based on page coordinates. Element must be part of the DOM tree to have p... |
| |
getXY() : void |
Element |
| Gets the current position of the element based on page coordinates. Element must be part of the DOM tree to have pag... |
| |
getY() : void |
Element |
| Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have p... |
| |
hasClass(String className) : Boolean |
Element |
| Checks if a CSS class is in use by the element. |
| |
hide() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.hide for method details. |
| |
highlight([String color], [String fromColor], [Float duration], [String attribute]) : void |
Actor |
| Highlight the element using a background color (or passed attribute) animation |
| |
initDD(String group, Object config, Object overrides) : YAHOO.util.DD |
Element |
| Initializes a YAHOO.util.DD object for this element. |
| |
initDDProxy(String group, Object config, Object overrides) : YAHOO.util.DDProxy |
Element |
| Initializes a YAHOO.util.DDProxy object for this element. |
| |
initDDTarget(String group, Object config, Object overrides) : YAHOO.util.DDTarget |
Element |
| Initializes a YAHOO.util.DDTarget object for this element. |
| |
insertAfter(String/HTMLElement/Element el) : YAHOO.ext.Element |
Element |
| Inserts this element after the passed element in the DOM |
| |
insertBefore(String/HTMLElement/Element el) : YAHOO.ext.Element |
Element |
| Inserts this element before the passed element in the DOM |
| |
insertHtml(String where, String html) : YAHOO.ext.Element |
Element |
| Inserts an html fragment into this element |
| |
isBorderBox() : Boolean |
Element |
| Tests various css rules/browsers to determine if this element uses a border box |
| |
isDisplayed() : Boolean |
Element |
| Returns true if display is not "none" |
| |
isVisible([Boolean deep]) : Boolean |
Element |
| Checks whether the element is currently visible using both visibility and display properties. |
| |
load() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.load for method details. |
| |
mon(String eventName, Function fn, [Object scope], [boolean override]) : Function |
Element |
| Append a managed listener (shorthanded for addManagedListener) |
| |
move() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.move for method details. |
| |
moveIn(String anchor, [Array to], [Float duration], [Function easing]) : void |
Actor |
| Show the element in a way that it appears as if it is flying onto the screen |
| |
moveOut(String anchor, [Float duration], [Function easing]) : void |
Actor |
| Hide the element in a way that it appears as if it is flying off the screen |
| |
moveTo() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.moveTo for method details. |
| |
on(String eventName, Function handler, [Object scope], [boolean override]) : YAHOO.ext.Element |
Element |
| Appends an event handler to this element (Same as addListener) |
| |
pause(Number seconds) : void |
Actor |
| Capture a pause (in seconds). |
| |
play([Function oncomplete]) : void |
Actor |
| Starts playback of self captured calls. |
| |
pulsate([Number count], [Float duration]) : void |
Actor |
| Fade the element in and out the specified amount of times |
| |
radioClass(String className) : YAHOO.ext.Element |
Element |
| Adds the passed className to this element and removes the class from all siblings |
| |
remove() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.remove for method details. |
| |
removeAllListeners() : YAHOO.ext.Element |
Element |
| Removes all previous added listeners from this element |
| |
removeClass() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.removeClass for method details. |
| |
removeListener(String sType, Function fn, Object scope) : YAHOO.ext.Element |
Element |
| Removes an event handler from this element |
| |
repaint() : YAHOO.ext.Element |
Element |
| Forces the browser to repaint this element |
| |
replace(String/HTMLElement/Element el) : YAHOO.ext.Element |
Element |
| Replaces the passed element with this element |
| |
replaceClass() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.replaceClass for method details. |
| |
scrollIntoView([String/HTMLElement/Element container]) : YAHOO.ext.Element |
Element |
| Scrolls this element into view within the passed container. |
| |
select(String selector, Boolean unique) : CompositeElement/CompositeElementLite |
Element |
| Selects child nodes based on the passed CSS selector (the selector should not contain an id) |
| |
select<static>(String/Array selector, [Boolean unique]) : CompositeElementLite/CompositeElement |
Element |
| <static> Selects elements based on the passed CSS selector to enable working on them as 1. |
| |
set(Object o) : YAHOO.ext.Element |
Element |
| Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function) |
| |
setAbsolutePositioned() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setAbsolutePositioned for method details. |
| |
setBottom(String bottom) : YAHOO.ext.Element |
Element |
| Set the element's css bottom style |
| |
setBounds() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setBounds for method details. |
| |
setBox() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setBox for method details. |
| |
setDisplayed(Boolean value) : YAHOO.ext.Element |
Element |
| Sets the css display. Uses originalDisplay if value is a boolean true. |
| |
setHeight() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setHeight for method details. |
| |
setLeft() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setLeft for method details. |
| |
setLeftTop() : YAHOO.ext.Element |
Element |
| Quick set left and top adding default units |
| |
setLocation() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setLocation for method details. |
| |
setOpacity() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setOpacity for method details. |
| |
setPositioning() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setPositioning for method details. |
| |
setRegion(YAHOO.util.Region region, [Boolean animate], [float duration], [Function onComplete], [Function easing]) : YAHOO.ext.Element |
Element |
| Sets the element's position and size the the specified region. If animation is true then width, height, x and y will ... |
| |
setRelativePositioned() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setRelativePositioned for method details. |
| |
setRight(String right) : YAHOO.ext.Element |
Element |
| Set the element's css right style |
| |
setSize() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setSize for method details. |
| |
setStyle() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setStyle for method details. |
| |
setTop() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setTop for method details. |
| |
setVisibilityMode() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setVisibilityMode for method details. |
| |
setVisible() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setVisible for method details. |
| |
setWidth() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setWidth for method details. |
| |
setX() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setX for method details. |
| |
setXY() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.setXY for method details. |
| |
setY() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.setY for method details. |
| |
shake() : void |
Actor |
| Shake this element from side to side |
| |
show() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.show for method details. |
| |
slideHide(String anchor, [Float duration], [Function easing]) : void |
Actor |
| Hide the element using a "slide in" effect - In order for this effect to work the element MUST have a child element c... |
| |
slideShow(String anchor, [Number newSize], [Float duration], [Function easing]) : void |
Actor |
| Show the element using a "slide in" effect - In order for this effect to work the element MUST have a child element c... |
| |
squish([Float duration]) : void |
Actor |
| Hide the element by "squishing" it into the corner |
| |
startCapture() : void |
Actor |
| Start self capturing calls on this Actor. All subsequent calls are captured and executed when play() is called. |
| |
stopCapture() : void |
Actor |
| Stop self capturing calls on this Actor. |
| |
swallowEvent(String eventName, [Boolean preventDefault]) : YAHOO.ext.Element |
Element |
| Stops the specified event from bubbling and optionally prevent's the default action |
| |
switchOff([Float duration]) : void |
Actor |
| Blink the element as if it was clicked and then collapse on it's center |
| |
toggle() : void |
Actor |
| Capturing and animation syncing override - See YAHOO.ext.Element.toggle for method details. |
| |
toggleClass(String className) : YAHOO.ext.Element |
Element |
| Toggles (adds or removes) the passed class. |
| |
unclip() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.unclip for method details. |
| |
unselectable() : YAHOO.ext.Element |
Element |
| Disables text selection for this element (normalized across browsers) |
| |
update() : void |
Actor |
| Capturing override - See YAHOO.ext.Element.update for method details. |
| |
wrap([Object config]) : Element |
Element |
| Creates and wraps this element with another element |
This class has no public events.