mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [jquery] Add `includeMargin` parameter to `.outerHeight()` and `.outerWidth()` setters.
See 354f6036f2/test/unit/dimensions.js (L477-L484).
* [jquery-awesome-cursor] Add missing `dom` lib target.
* [jquery-toast-plugin] Add missing `dom` lib target.
* [jquery.growl] Add missing `dom` lib target.
* [materialize-css] Disable `unified-signatures` rule for plugin overloads.
These overloads follow the jQuery plugin pattern and are effectively separate methods.
* [ng-cordova] Update promise types to be compatible with changes from `ng.IPromise`.
Ref: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23115
* [ng-tags-input] Add missing `dom` lib target.
* [p-loading] Add missing `dom` lib target.
* [summernote] Add missing `dom` lib target.
* [swig-email-templates] Add missing `dom` lib target.
* [materialize-css] Unify signatures according to feedback.
See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/29756#pullrequestreview-165249412.
25 lines
628 B
TypeScript
25 lines
628 B
TypeScript
/// <reference path="./common.d.ts" />
|
|
|
|
declare namespace M {
|
|
class CharacterCounter extends Component<undefined> {
|
|
/**
|
|
* Get Instance
|
|
*/
|
|
static getInstance(elem: Element): CharacterCounter;
|
|
|
|
/**
|
|
* Init CharacterCounter
|
|
*/
|
|
static init(els: Element, options?: Partial<undefined>): CharacterCounter;
|
|
|
|
/**
|
|
* Init CharacterCounters
|
|
*/
|
|
static init(els: MElements, options?: Partial<undefined>): CharacterCounter[];
|
|
}
|
|
}
|
|
|
|
interface JQuery {
|
|
characterCounter(method?: keyof Pick<M.CharacterCounter, "destroy">): JQuery;
|
|
}
|