Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Atom views for creating modal input for packages

License

Notifications You must be signed in to change notification settings

UziTech/atom-modal-views

Repository files navigation

Actions Status Dependency Status

atom-modal-views

Modal Input Views for Atom packages

InputView

Single line input view

Usage

const { InputView } = require("atom-modal-views");

const inputView = new InputView({
	title: "Title text",
	description: "Description can use **markdown**",
	placeholder: "placeholder text",
	value: "initial value",
});

const value = await inputView.getInput();

image

Options

Name Default Description
title "" Title inside <h1> tag
description "" Description can contain markdown
placeholder "" Placeholder text to show when input is empty
value "" The initial value

About

Atom views for creating modal input for packages

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published