jsf - Bootsfaces scrollUp and Gliphicon -


i'm working jsf project uses bootsfaces 1.1.3

i've tried following without luck

<b:scrollup text="" distance="150" class="glyphicon glyphicon-chevron-up"/> 

how can set glyphicon icon using b:scrollup?

i didn't try yet, according documentation of plugin have set attribute image="true". image must defined in css snippet:

#scrollup {     background-image: url("../../img/top.png");     bottom: 20px;     right: 20px;     width: 38px;    /* width of image */     height: 38px;   /* height of image */ }   

to use glyphicon, it's best approach glyphicon definition , copy css snippet:

    .glyphicon {       position: relative;       top: 1px;       display: inline-block;       font-family: 'glyphicons halflings';       font-style: normal;       font-weight: normal;       line-height: 1;       -webkit-font-smoothing: antialiased;       -moz-osx-font-smoothing: grayscale;     }     .glyphicon-chevron-up      {         &:before { content: "\e113"; }      } 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -