0.1.11 • Published 1 year ago

@web-inmars/mars-grid v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mars-grid

Web component that allows us to show an accessible and beautiful grid so that users can see the content of the page.

Installation

  npm i @web-inmars/mars-grid --save

Usage

<script type="module">
   import 'mars-grid/mars-grid.js';
</script>

<mars-grid>
     I'm a container for the items
</mars-grid>

Properties

PropertyAttributeTypeDefault
alignContentalign-contentstring""
alignItemsalign-itemsstring""
containerSizecontainer-sizestring""
gapgapstring""
gridgridstring""
gridAutoFlowgrid-auto-flowstring""
gridTemplategrid-templatestring""
inlineinlinebooleanfalse
justifyContentjustify-contentstring""
justifyItemsjustify-itemsstring""
placeContentplace-contentstring""
placeItemsplace-itemsstring""

Methods

MethodType
createRenderRoot(): this
0.1.11

1 year ago

0.1.10

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.5

2 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago