routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
interface HTMLExpandElement extends HTMLElement {
|
||||
_parent?: (Node & ParentNode & HTMLElement) | null;
|
||||
_initialStyle?: {
|
||||
transition: string;
|
||||
overflow: string;
|
||||
height?: string | null;
|
||||
width?: string | null;
|
||||
};
|
||||
}
|
||||
export default function (expandedParentClass?: string, type?: 'x' | 'y' | 'both'): {
|
||||
onBeforeEnter(el: HTMLExpandElement): void;
|
||||
onEnter(el: HTMLExpandElement): void;
|
||||
onAfterEnter: (el: HTMLExpandElement) => void;
|
||||
onEnterCancelled: (el: HTMLExpandElement) => void;
|
||||
onLeave(el: HTMLExpandElement): void;
|
||||
onAfterLeave: (el: HTMLExpandElement) => void;
|
||||
onLeaveCancelled: (el: HTMLExpandElement) => void;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user