Skip to content
Xavier Julián edited this page Dec 15, 2015 · 3 revisions

A simple image component

<polymux-image url="image.svg" width="150px" height="150px" type="cats"></polymux-image>

An image component has three attributes:

  • url(optional): The URL of the image we want to set
  • width(optional): The width of the image
  • height(optional): The height of the image
  • type(optional): We can choose what type of image we want to use. Will not work if used with url attribute
    • abstract: An abstract image
    • city: Images of cities
    • people: Random people doing random things
    • transport: things we use to move around
    • animals: Yeah, our beloved friends that sometimes want to eat us
    • nature: We love the Taiga (wink wink)
    • business: Buzzword buzzword
    • nightlife: I'm not drunk, Im promize...
    • sports: Jump! How tall?
    • cats: Purr animals default
    • fashion: When Purr animals become nice sweaters
    • technics: Nobody ever used this category
Clone this wiki locally