Skip to content

Instantly share code, notes, and snippets.

@horacioibrahim
Last active December 17, 2015 13:50
Show Gist options
  • Select an option

  • Save horacioibrahim/e99bd0fa82f5bbcf22eb to your computer and use it in GitHub Desktop.

Select an option

Save horacioibrahim/e99bd0fa82f5bbcf22eb to your computer and use it in GitHub Desktop.
function load() {
app = document.querySelector('sc-app');
a =[ {"label": "Decorrido do prazo" , "value": 120, "unit": "minutos"}, {"label": "Decorrido do prazo" , "value": 310, "unit": "minutos"}, {"label": "Decorrido do prazo" , "value": 150, "unit": "minutos"}, {"label": "GSTIDFCOC" , "value": 50, "unit": "minutos"},
{"label": "Tempo restante", "value": 230, "unit": "minutos"}];
b =[ {"label": "Decorrido do prazo" , "value": 30, "unit": "minutos"},
{"label": "Tempo restante", "value": 70, "unit": "minutos"}];
app.$.termobar.data = a;
}
function activate() {
app.$.termobar.activate = true;
}
function deadline() {
app.$.termobar.data = b;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment