* Transitions enable you to define the transition between two states of an element.
| 855 | * Transitions enable you to define the transition between two states of an element. |
| 856 | */ |
| 857 | interface Trasition { |
| 858 | /** |
| 859 | * Cancel the trasition. |
| 860 | * @param preserveState |
| 861 | */ |
| 862 | cancel(preserveState: boolean): void; |
| 863 | /** |
| 864 | * Finish the transition. |
| 865 | */ |
| 866 | end(): void; |
| 867 | /** |
| 868 | * Reverse the states of the transition. |
| 869 | */ |
| 870 | reverse(): void; |
| 871 | /** |
| 872 | * Set element attribute. |
| 873 | * @param prop |
| 874 | * @param val |
| 875 | */ |
| 876 | attr<T extends keyof BaseAttrs | string & {}>(prop: T, val: ArgAttrs[T]): Promise<void>; |
| 877 | /** |
| 878 | * Set element attributes. |
| 879 | * @param attrs |
| 880 | */ |
| 881 | attr(attrs: ArgAttrs): Promise<void>; |
| 882 | } |
| 883 | |
| 884 | /** |
| 885 | * Returns a RectReadOnly which in essence describes a rectangle describing the smallest |
no outgoing calls
no test coverage detected