mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
uniform.js
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/// <reference path="jquery.notifyBar.d.ts" /
|
||||
//
|
||||
/// <reference path="jquery.uniform.d.ts" /
|
||||
|
||||
// Style all <select> elements
|
||||
$("select").uniform();
|
||||
// Style everything
|
||||
@@ -50,7 +50,7 @@ $("input").uniform({inputClass: "inputElement"});
|
||||
|
||||
$(":radio").uniform({radioClass: 'myRadioClass'});
|
||||
|
||||
$("input[type='reset']).uniform({resetDefaultHtml: "Clear"});
|
||||
$("input[type='reset']").uniform({resetDefaultHtml: "Clear"});
|
||||
|
||||
$("select").uniform({resetSelector: 'input[type="reset"]'});
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -35,8 +35,8 @@ interface UniformOptions {
|
||||
}
|
||||
interface Uniform {
|
||||
(options?: UniformOptions): JQuery;
|
||||
update(any?): void;
|
||||
restore(any?): void;
|
||||
update(elemOrSelector?: any): void;
|
||||
restore(elemOrSelector?: any): void;
|
||||
elements: JQuery[];
|
||||
}
|
||||
interface JQueryStatic {
|
||||
|
||||
Reference in New Issue
Block a user