1.0.30 • Published 2 years ago

atom-modal-views v1.0.30

Weekly downloads
895
License
MIT
Repository
github
Last release
2 years ago

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

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

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago