Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.1.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>