Created
October 9, 2017 04:40
-
-
Save geoffreymcgill/65eb99f4799e9403ae7a9f03533b6b77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Update using statements: | |
// Old Bridge.Html5 | |
using Bridge.Html5; | |
// New Retyped | |
using static Retyped.dom; | |
// 2. Class names should be the same: | |
var button = new HTMLButtonElement(); | |
// 3. All members now lowerCamelCase: | |
// Old Bridge.Html5 | |
button.InnerHTML = "Click Me"; | |
Document.Body.AppendChild(button); | |
// New Retyped | |
button.innerHTML = "Click Me"; | |
document.body.appendChild(button); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment