Class NTGVota.Config-NTGVotaThemeStars
Defined in: template.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| <inner> |
Template para urna con estrellas
Autor: Alejandro Vera
|
| Field Attributes | Field Name and Description |
|---|---|
|
Identificador (nombre corto) del tema
|
| Method Attributes | Method Name and Description |
|---|---|
|
getUrn(code, id)
Funcion para obtener HTML de Urna
|
|
|
showCurrent(data)
Funcion para mostrar resultado de
votacion actual
|
|
|
showWait(code, id)
Funcion para mostrar estado de espera
|
|
|
writeMsg(code, id, msg, autohide)
Funcion para mostrar mensaje
|
Class Detail
<inner>
NTGVota.Config-NTGVotaThemeStars()
Template para urna con estrellas
Autor: Alejandro Vera
Field Detail
id
Identificador (nombre corto) del tema
Method Detail
{String}
getUrn(code, id)
Funcion para obtener HTML de Urna
- Parameters:
- {String} code
- Codigo de votacion
- {String} id
- identificador del elemento que se vota
- Returns:
- {String} Codigo HTML de la urna de votacion
showCurrent(data)
Funcion para mostrar resultado de
votacion actual
- Parameters:
- {Array} data
- Arreglo con elementos de RespuestaDeVotacion
showWait(code, id)
Funcion para mostrar estado de espera
- Parameters:
- {String} code
- Codigo de votacion
- {String} id
- identificador del elemento que se vota
writeMsg(code, id, msg, autohide)
Funcion para mostrar mensaje
- Parameters:
- {String} code
- Codigo de votacion
- {String} id
- identificador del elemento que se vota
- {String} msg
- Mensaje a desplegar
- {Number} autohide
- Milisegundos en los que se va a ocultar el mensaje. 0 deshabilita el ocultamiento. 3 segundos por defecto