How to disable slide to open function on RadSideDrawer



Anyone know how to disable “slide-open” gesture on RadSideDrawer? I would like to open side menu by click button on action bar and still keep the “click/slide to close” function.

I have tried:

export function onLoaded(args: EventData): void {
    const drawerComponent = <RadSideDrawer>args.object;

It only works before the side menu is opened by button clicking.

Reference is here