mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Add dragCallbacks
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
d203e8f129
commit
bebcb32e8f
1 changed files with 7 additions and 0 deletions
|
@ -49,6 +49,13 @@ interface IProps {
|
|||
// This is sort of a proxy for a number of things but we currently have no
|
||||
// need to control those things separately, so this is simpler.
|
||||
pipMode?: boolean;
|
||||
|
||||
// Callbacks for dragging the CallView in PIP mode
|
||||
dragCallbacks?: {
|
||||
onStartMoving: (event: React.MouseEvent) => void;
|
||||
onMoving: (event: React.MouseEvent) => void;
|
||||
onEndMoving: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
|
Loading…
Reference in a new issue