props
- Examples
El argumento props hace accesibles algunas propiedades a las instrucciones de marcado. | The props argument makes some properties accessible to markup commands. |
La anchura del sangrado se toma del argumento props. | The indent width is taken from the props argument. |
Finalmente, el marcado resultante se pasa a la función interpret-markup, con los argumentos layout y props. | Finally, the resulting markup is passed to the interpret-markup function, with the layout and props arguments. |
¿Hay props? | Are there any props? |
Búsqueda de alojamiento adecuado con facilidades para la práctica de yoga (yoga shala, mats, props, etc.). | Search for suitable accommodation with facilities for the practice of yoga (yoga shala, mats, props, etc.). |
No existe ninguna limitación en el orden de los argumentos (después de los argumentos estándar layout y props). | There is no limitation on the order of arguments (after the standard layout and props arguments). |
En estas props se utilizan los valores custom que agregamos en las settings de Input del proyecto. | In these properties we use the custom values we add in the Input for the Project settings. |
Nos podemos tardar meses, en lo que conseguimos props, locación y modelo y hasta entonces hacemos las fotos. | It sometimes takes us months to get the right props, location, and model. |
Un componente padre debe establecer props de un componente hijo para pasar cualquier dato del padre al niño. | A parent-component should set the props of a child-component to pass any data from the parent to the child. |
Utilice la palabra clave #:properties de define-markup-command para especificar qué propiedades se deben leer a partir de los argumentos de props. | Use the #:properties keyword of define-markup-command to specify which properties shall be read from the props arguments. |
Esto a su vez resulta en llamar render(), lo que sincroniza el DOM con los datos (props + state). | This in turn results in calling render(), which brings the DOM in sync with the data (props + state). |
Función: propvars (prop) Devuelve la lista con los átomos de la lista props que tienen la propiedad indicada por prop. | Function: propvars (prop) Returns a list of those atoms on the props list which have the property indicated by prop. |
En primer lugar, la función toma el ancho del sangrado, una propiedad llamada aquí par-indent, de la lista de propiedades props. | First, the function gets the indent width, a property here named par-indent, from the property list props. |
Después de cada ronda, cada equipo cambia sus roles: los cazadores se convierten en props, y los props en cazadores. | After each round, each team will change their roles: the hunters will become props, and the props, hunters. |
La función interpret-markup se usa en casi todas las instrucciones de marcado: construye un sello, usando layout, props, y un elemento de marcado. | The interpret-markup function is used in most of markup commands: it builds a stencil, using layout, props, and a markup. |
La variable props es una lista de a-listas, y se lo anteponemos haciendo la operación cons de una lista con el ajuste adicional. | The variable props is a list of alists, and we prepend to it by cons'ing a list with the extra setting. |
El componente mantiene una bolsa de propiedades inmutables llamada props y un state que representa el estado generado por el usuario de la UI. | The Component maintains an immutable property bag called props, and a state that represents the user-driven state of the UI. |
Muy a menudo esto se lleva a cabo llamando a la función interpret-markup sobre una expresión de marcado, pasándole los argumentos layout y props. | Quite often this is accomplished by calling the interpret-markup function on a markup expression, passing the layout and props arguments on to it. |
Aparte de los argumentos usuales layout y props, la instrucción de lista de marcados paragraph toma un argumento de lista de marcados, llamado args. | Besides the usual layout and props arguments, the paragraph markup list command takes a markup list argument, named args. |
Nos podemos tardar meses, en lo que conseguimos props, locación y modelo y hasta entonces hacemos las fotos. | We seek references, go to markets to buy things, etc. It sometimes takes us months to get the right props, location, and model. |
Random Word
Roll the dice and learn a new word now!
Want to Learn Spanish?
Spanish learning for everyone. For free.