Skip to main content
Module

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

📚 Standard module for denops.vim
Latest
function popup_close
import { popup_close } from "https://deno.land/x/denops_std@v6.5.1/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>