rater icon indicating copy to clipboard operation
rater copied to clipboard

Fontawesome symbols

Open nmoore2 opened this issue 5 years ago • 1 comments

Hi, how do I pass in fontawesome characters? I'm getting this error with the below code:

Cannot read property base of undefined

    $('.rating').rate({
      readonly: true,
      step_size: 0.5,
      symbols: {
        fontawesome_star: {
          base: '\uf005',
          hover: '\uf005',
          selected: '\uf005',
        },
     },
    });

nmoore2 avatar Jun 01 '19 10:06 nmoore2

you seem to be missing the selected_symbol_type option.

khuderm avatar Jun 19 '19 15:06 khuderm