PHP Classes

File: src/MSD/HomeBundle/Resources/public/css/jquery-ui-1.10.3/tests/unit/progressbar/progressbar_methods.js

Recommend this page to a friend!
  Classes of Manolo Salsas   Online PHP Image Transform   src/MSD/HomeBundle/Resources/public/css/jquery-ui-1.10.3/tests/unit/progressbar/progressbar_methods.js   Download  
File: src/MSD/HomeBundle/Resources/public/css/jquery-ui-1.10.3/tests/unit/progressbar/progressbar_methods.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Online PHP Image Transform
Application to do interactive image manipulation
Author: By
Last change:
Date: 4 years ago
Size: 802 bytes
 

Contents

Class file image Download
module( "progressbar: methods" ); test( "destroy", function() { expect( 1 ); domEqual( "#progressbar", function() { $( "#progressbar" ).progressbar().progressbar( "destroy" ); }); }); test( "value", function() { expect( 3 ); var element = $( "<div>" ).progressbar({ value: 20 }); equal( element.progressbar( "value" ), 20, "correct value as getter" ); strictEqual( element.progressbar( "value", 30 ), element, "chainable as setter" ); equal( element.progressbar( "option", "value" ), 30, "correct value after setter" ); }); test( "widget", function() { expect( 2 ); var element = $( "#progressbar" ).progressbar(), widgetElement = element.progressbar( "widget" ); equal( widgetElement.length, 1, "one element" ); strictEqual( widgetElement[ 0 ], element[ 0 ], "same element" ); });