Skip to content

Instantly share code, notes, and snippets.

View lperezp's full-sized avatar
🏠
Working from home!

Luis Eduardo lperezp

🏠
Working from home!
View GitHub Profile
@lperezp
lperezp / primeros_pasos_dart.md
Last active August 9, 2020 16:58
primeros_pasos_dart.md

Primeros Pasos en Dart :)

Guía básica para Dart.

Tipo de dato

var name = "Luis";

El tipo de dato var si es reconocido por Dart. Sin embargo, no se recomienda usarlo. Lo recomendado es declarar el tipo de dato (String, int, etc). Esto nos ayudará a acceder a los métodos de sus clases.

Settings VSCode Settings

@lperezp
lperezp / vtex-checkout-events.md
Last active February 12, 2024 17:47
vtex-checkout-events

$(window).on('orderFormUpdated.vtex', (event, orderForm) => console.log("orderFormUpdated.vtex"));

$(window).on('orderFormUpdated.vtex', (event, orderForm) => console.log("orderFormUpdated.vtex"));

$(window).on('checkoutRequestEnd.vtex', (event, orderForm) => console.log("checkoutRequestEnd.vtex"));

$(window).on('checkout.vtex.com', (event, orderForm) => console.log("checkout.vtex.com "));

$(window).on('.vtexIdUI', (event, orderForm) => console.log(".vtexIdUI"));