second commit

This commit is contained in:
2024-12-27 22:31:23 +09:00
parent 2353324570
commit 10a0f110ca
8819 changed files with 1307198 additions and 28 deletions

View File

@ -0,0 +1,27 @@
import type { InputCounterOptions } from './types';
import type { InstanceOptions } from '../../dom/types';
import { InputCounterInterface } from './interface';
declare class InputCounter implements InputCounterInterface {
_instanceId: string;
_targetEl: HTMLInputElement | null;
_incrementEl: HTMLElement | null;
_decrementEl: HTMLElement | null;
_options: InputCounterOptions;
_initialized: boolean;
_incrementClickHandler: EventListenerOrEventListenerObject;
_decrementClickHandler: EventListenerOrEventListenerObject;
_inputHandler: EventListenerOrEventListenerObject;
constructor(targetEl?: HTMLInputElement | null, incrementEl?: HTMLElement | null, decrementEl?: HTMLElement | null, options?: InputCounterOptions, instanceOptions?: InstanceOptions);
init(): void;
destroy(): void;
removeInstance(): void;
destroyAndRemoveInstance(): void;
getCurrentValue(): number;
increment(): void;
decrement(): void;
updateOnIncrement(callback: () => void): void;
updateOnDecrement(callback: () => void): void;
}
export declare function initInputCounters(): void;
export default InputCounter;
//# sourceMappingURL=index.d.ts.map