C# Класс Fluqi.Utilities.jAnimation.Animation

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Animation ( TextWriter writer, string key ) : System

Constructor

GetControlScript ( ) : string

Writes out the initialisation JavaScript to configure the tabs object client-side.

Useful if you want to declare your own document.ready and add in the initialisation yourself (if you have additional initialisation you want to perform for instance).

GetControlScript ( int tabDepth ) : string

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.

GetStartUpScript ( ) : string

Renders (and returns) the JavaScript required to initialise the control with the required options. A jQuery document.ready section is wrapped around the script.

GetStartUpScript ( bool incDocReady ) : string

Writes out the document.ready, text/JavaScript and tabs initialisation script to the Response.

Useful if you want more control over where the initialisation takes place.

Render ( ) : void

There is not underlying control for a Animation object to render onto. The "Render" method merely calls the initialisation routine and adds it into the outgoing Response object

RenderStartUpScript ( ) : void

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.

Useful if you want more control over where the initialisation takes place.

RenderStartUpScript ( bool incDocReady ) : void

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.

Useful if you want more control over where the initialisation takes place.

Описание методов

Animation() публичный Метод

Constructor
public Animation ( TextWriter writer, string key ) : System
writer System.IO.TextWriter Response stream to write the control to.
key string ID of the button, this must be unique for the page
Результат System

GetControlScript() публичный Метод

Writes out the initialisation JavaScript to configure the tabs object client-side.
Useful if you want to declare your own document.ready and add in the initialisation yourself (if you have additional initialisation you want to perform for instance).
public GetControlScript ( ) : string
Результат string

GetControlScript() публичный Метод

Writes out the calling script for the jQuery Tabs plugin, adding options that have been a defined.
public GetControlScript ( int tabDepth ) : string
tabDepth int /// How far to indent the tabs in the script code. ///
Результат string

GetStartUpScript() публичный Метод

Renders (and returns) the JavaScript required to initialise the control with the required options. A jQuery document.ready section is wrapped around the script.
public GetStartUpScript ( ) : string
Результат string

GetStartUpScript() публичный Метод

Writes out the document.ready, text/JavaScript and tabs initialisation script to the Response.
Useful if you want more control over where the initialisation takes place.
public GetStartUpScript ( bool incDocReady ) : string
incDocReady bool /// If true wraps the initialisation script with a jQuery document.ready section /// If false only the control initialisation script is written. ///
Результат string

Render() публичный Метод

There is not underlying control for a Animation object to render onto. The "Render" method merely calls the initialisation routine and adds it into the outgoing Response object
public Render ( ) : void
Результат void

RenderStartUpScript() публичный Метод

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.
Useful if you want more control over where the initialisation takes place.
public RenderStartUpScript ( ) : void
Результат void

RenderStartUpScript() публичный Метод

Writes out the document.ready, text/JavaScript and Animation initialisation script to the Response.
Useful if you want more control over where the initialisation takes place.
public RenderStartUpScript ( bool incDocReady ) : void
incDocReady bool /// If true the control initialisation is wrapped in a jQuery document.ready and script /// declaration. /// If false no wrapping takes place. ///
Результат void