mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 03:27:18 +00:00
fa61bc53fc
* TW5-es-ES-edition Spanish edition of TW5. A full localisation of TiddlyWiki into castillian spanish (es-ES). * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing + TiddlySpot upload * Translation ongoing * Translation ongoing + macro fixes * Translation ongoing * translation ongoing + macro fixes * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing * translation ongoing * translation ongoing * Translation ongoing * translation ongoing * translation ongoing * translation ongoing * Arreglo plugin * Arreglo plugin * Translation ongoing * Translation ongoing * Translation ongoing * translation ongoing * Add Spanish edition to TW5.com * Reverting forced language plugin load. folder es-ES was provisorily added to the tiddlerStore in order to force the load of the updated language plugin. Finished the translation, and with the updated plugin on place, this folder has no use when the new release comes out.
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
caption: tm-modal
|
|
created: 20140811112133701
|
|
es-title: Mensaje: tm-modal
|
|
modified: 20160415153537297
|
|
tags: Messages
|
|
title: WidgetMessage: tm-modal
|
|
type: text/vnd.tiddlywiki
|
|
|
|
El mensaje `tm-modal` muestra determinado tiddler sobre una ventana modal que atenúa la página principal. Requiere de las siguientes propiedades en el objeto `event`:
|
|
|
|
|!Nombre |!Descripción |
|
|
|param |Título del tiddler que se quiere mostrar |
|
|
|paramObject |HashMap de variables que se le suministra al modal |
|
|
|
|
La variable <<.def "current tiddler">> se asigna al tiddler modal, pero puede anularse especificando un valor diferente en `paramObject`.
|
|
|
|
Este mensaje se genera normalmente con ButtonWidget y lo procesa el núcleo de ~TiddlyWiki.
|
|
|
|
!! Ejemplo
|
|
|
|
Este es un ejemplo de modal y de cómo se le pasan parámetros:
|
|
|
|
|
|
<$macrocall $name='wikitext-example-without-html'
|
|
|
|
src='Escribe tu nombre: <$edit-text tiddler="$:/temp/yourName" tag="input" default="Nombre"/>
|
|
|
|
Escribe tu mensaje:
|
|
<$edit-text tiddler="$:/temp/yourMessage" default="Mensaje"/>
|
|
|
|
<$button>
|
|
<$action-sendmessage $message="tm-modal" $param="SampleModal" yourName={{$:/temp/yourName}} yourMessage={{$:/temp/yourMessage}}/>
|
|
¡Haz clic!
|
|
</$button>'/> |