Skip to content

zachrihall/pluto_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Potential Inputs:

Name (string) - each element requires a unique name to be identified in the document 
Direction (string) - expects either: “start” or “center” or “end”. Will direct the content in that container in that direction.
Align (string) - expects either: “row” or “column”. Will align the items in that direction. 
Color (string) - sets the background color of the container.
labelNames (Array) - expects an array of strings for each input in the form.
Container (string) - expects the name of the container you wish to add the component to.
Text (string) - expects a string of what you want the component to say.
Src (string) - expects a url of the location of the photo you wish to add. 
Width (int) - expects a width in pixels of the image you wish to add. *the height is automatically adjusted from the width* 
Aria (string) - expects a description of the component to explain more detailed what the component is for screen readers.
Href (string) - expects a url that you wish to link the component to. 
Items (Array) - expects an array of strings of the items you wish to be in the list 
fontSize (int) - expects an integer of the size of pixel you want the font size to be


Components with their respective inputs IN ORDER. The order is necessary for the program to work correctly. 

Container (name, direction, align, color)
Form (labelNames, container)
h1 (text, container, name, color) 
h2 (text, container, name, color) 
h3 (text, container, name, color) 
p (text, container, name, color) 
image(src, width, name, aria, container)
link(text, href, aria, fontSize, name, container)
ul(items, color, font, container)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published