Giter Site home page Giter Site logo

a-pollo's People

Contributors

fain182 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

holdicon fain182

a-pollo's Issues

Attribute style in HTML example should be rendered but removed from code snippet

The meaning of insert style attribute in HTML example is to prevent unwanted default behavior to ease widget visualization inside style guide only, so it should be removed from code snippet.

/*@pollo
    @name:  Club
    @auth:  [Vittorio Vittori](http://vit.to)
    @category:  News
    @date:  2016-03-21T12:27:33+01:00
    @text:  This widget has position absolute positioning and it's not nice inside the style guide
    @html:  <span class="news-club" style="position:static;">
                <i class="serie-a serie-a--inter"></i>
            </span>
*/

There are cases where style attribute should be shown, maybe could be the case to add a new doc tag, something like @style: true (false by default).

This could be useful for background images of styled avatars.

Adding style attributes in docs will break che compile process

This works:

/*@pollo
    @name:  Avatar
    @auth:  [Vittorio Vittori](http://vit.to)
    @category:  Users
    @date:  2016-03-10T11:43:58+01:00
    @text:  Default avatar used for registered users only, NOT FOR AUTHORS
    @html:  <a class="avatar" href="#user-profile-page"></a>
*/

This NOT working:

/*@pollo
    @name:  Avatar
    @auth:  [Vittorio Vittori](http://vit.to)
    @category:  Users
    @date:  2016-03-10T11:43:58+01:00
    @text:  Default avatar used for registered users only, NOT FOR AUTHORS
    @html:  <a class="avatar" href="#user-profile-page" style="background-image:url(http://placehold.it/80);"></a>
*/

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.