# Yahoo! UI Library

### TreeView Widget 2.8.1

Yahoo! UI Library > treeview > YAHOO.widget.TVFadeIn
Search:
Filters Show Private Show Protected Show Deprecated

## Class YAHOO.widget.TVFadeIn

A 1/2 second fade-in animation.

### Constructor

YAHOO.widget.TVFadeIn `( el , callback )`

Parameters:
  `el <HTMLElement>` the element to animate
  `callback <function>` function to invoke when the animation is finished

### Properties

#### callback - `function`

the callback to invoke when the animation is complete

#### el - `HTMLElement`

The element to animate

### Methods

#### animate

`void animate ( )`
Performs the animation

#### onComplete

`void onComplete ( )`
Clean up and invoke callback

#### toString

`string toString ( )`
toString

Returns: `string`
  the string representation of the instance

Copyright © 2010 Yahoo! Inc. All rights reserved.