UNPKG
@vindev/particle
Version:
latest (0.0.7-alpha)
0.0.7-alpha
0.0.6-alpha
0.0.5-alpha
0.0.4-alpha
0.0.2-alpha
0.0.1-alpha
Angular Component Library using Tailwind
ptcl.dev
vindevinc/particle-lib
@vindev/particle
/
lib
/
shared
/
mixins
/
limit.mixin.d.ts
11 lines
(10 loc)
•
298 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
Constructor
}
from
'./'
;
export
declare
function
LimitMixin
<T
extends
Constructor
<{}>>(
Base
?: T): {
new
(...
args
:
any
[]): {
min
:
number
;
max
:
number
;
setMin
:
number
;
setMax
:
number
;
clamp
(
min
:
number
,
max
:
number
):
void
; }; } & T;