Skip to content

easrng/image-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@easrng/image-grid

a zero-dependency image grid web component

installation

npm install @easrng/image-grid

usage

<easrng-image-grid>
  <div slot="extra">child that won't get included in the layout (put your buttons or whatever here)</div>
  <div data-width="16" data-height="9">16:9</div>
  <div data-width="4" data-height="3">4:3</div>
  <div data-width="1" data-height="1">1:1</div>
  <div data-width="1" data-height="2">1:2</div>
</easrng-image-grid>

About

a zero-dependency image grid web component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published