Skip to content

Can set value as Indeterminate #12

@CeloHill

Description

@CeloHill

Hi,
I'm using the progress-circle multiple times in a page.
Do do so I set the value in data tag as <div class="nota-analise big circulo" data-score="9">
When I call my javascript it is called looking for that value. It don't work when their's no score set.

my javascript.
var notas = cj('.nota-analise').all();
notas.forEach(function(nota){ var score = cj(nota).attr('data-score'); new CircleProgress(nota, { max: 1, max: 10, value: score, textFormat: 'value', indeterminateText: '--' }); });

doesn't matter what I set in value (null, undefined), it never set as indeterminated.
Can you help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions