/ HTML

Declarative "Click me" across languages and platforms

4youngpadawans.com presents Declarative "Click me" across languages and platforms featuring HTML | React | Angular | JSF | Android | WPF


//HTML (+JS)
<button onclick="myFunction()">Click me</button>

//React
<button onClick={this.myFunction}>Click me</button>

//React Native
<Button onPress={this.myFunction} title="Click me"></Button>

//Angular
<button (click)="myFunction()">Click Me</button>

//JSF (+JS)
<h:button onclick="myFunction()" value="Click Me"></h:button>

//Android
<Button android:onClick="myFunction" android:text="Click me"></Button>

//WPF
<Button Click="myFunction" Content="Click me"></Button>
Declarative "Click me" across languages and platforms
Share this