Giter VIP home page Giter VIP logo

atomico-ui-base's Introduction

ui-base

pequeño stack de utilidades armadas como web-components.

ui-lazy-media

Permite la representación de background o imágenes responsiva mediante una expresión srcset. este WC solo imprime el contenido una vez que se produzca la intercesión con el scroll

Property Type Default Description Example
srcset String "" Permite generar el recurso resposivo srcset="default.jpg, phone.jpg 520w, tablet.jpg 720w"
type String image Permite definir el tipo de recurso a imprimir type="video" or type="image"
shadow-dom Boolean false Permite habilitar el uso del shadowDom shadow-dom
style-media String "" Permite añadir la propiedad style al recurso de media style-media="width:50px;height:50px"

srcset

A diferencia del img[srcset], este agrupa img[src] y img[srcset] en una sola expresión, ui-lazy-media gracias a este string, creara un tag picture o un tag style ordenado por prioridad de escala.

Exprecion media

Value Equal
520w (min-width:520px)
520w! (max-width:520px)
520h (min-height:520px)
520h! (max-height:520px)
520w&&720w! (min-width:520px) and (max-width:720px)
300w (min-width:520dpi)

la url que no se acompañe de expresión se define como default.

intercepted

esta propiedad será definida si ocurre intercepción del web-components.

ui-scroll-header

atomico-ui-base's People

Contributors

uppercod avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.