1.0.4 • Published 2 years ago

plutolib v1.0.4

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 years ago

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)

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago