Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>popup_close

๐Ÿ“š Standard module for denops.vim
Go to Latest
function popup_close
import { popup_close } from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.ts";

Close popup {id}. The window and the associated buffer will be deleted.

If the popup has a callback it will be called just before the popup window is deleted. If the optional {result} is present it will be passed as the second argument of the callback. Otherwise zero is passed to the callback.

Can also be used as a method:

GetPopup()->popup_close()

Parameters

denops: Denops
id: unknown
optional
result: unknown

Returns

Promise<void>