Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tui/src/component.ts>Component#changeDrawnObjectVisibility

🦕 Deno module for creating Terminal User Interfaces
Latest
method Component.prototype.changeDrawnObjectVisibility
import { Component } from "https://deno.land/x/tui@2.1.11/src/component.ts";

Changes visibility of drawnObjects (erases/draws them depending on {visible})

If {visible} is set to false and {remove} is set to true it deletes objects from drawnObjects

Parameters

visible: boolean
optional
remove = [UNSUPPORTED]