File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ type RedrawOptions = {
4
4
} ;
5
5
type ElementOptions = {
6
6
observe ?: boolean ;
7
- onResize ?: ( rect : DOMRect , element : HTMLElement ) => void ;
7
+ onResize ?: ( rect ? : DOMRect , element ? : HTMLElement ) => void ;
8
8
} ;
9
9
10
10
declare enum CornerType {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @monokai/monoco" ,
3
- "version" : " 0.0.12 " ,
3
+ "version" : " 0.0.13 " ,
4
4
"author" : " Monokai" ,
5
5
"license" : " MIT" ,
6
6
"description" : " Custom (squircle) corners and borders for html elements" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export type RedrawOptions = {
8
8
type ElementSpecs = {
9
9
draw : ( redrawOptions ?:RedrawOptions ) => void ,
10
10
cornerOptions : CornerOptions ,
11
- onResize ?: ( rect :DOMRect , element :HTMLElement ) => void ,
11
+ onResize ?: ( rect ? :DOMRect , element ? :HTMLElement ) => void ,
12
12
previousW : number | null ,
13
13
previousH : number | null ,
14
14
element : HTMLElement
@@ -17,7 +17,7 @@ type ElementSpecs = {
17
17
export type ElementOptions = {
18
18
observe ?:boolean ,
19
19
// useCSS?:boolean,
20
- onResize ?:( rect :DOMRect , element :HTMLElement ) => void
20
+ onResize ?:( rect ? :DOMRect , element ? :HTMLElement ) => void
21
21
}
22
22
23
23
export default new class ElementManager {
You can’t perform that action at this time.
0 commit comments