Search in sources :

Example 1 with Autorun

use of arez.annotations.Autorun in project arez by arez.

the class CurrencyView method renderView.

@Autorun
public void renderView() {
    final Element element = DomGlobal.document.getElementById("currencyTracker");
    element.innerHTML = "1 BTC = $" + bitcoin.getAmount() + "AUD";
}
Also used : Element(elemental2.dom.Element) Autorun(arez.annotations.Autorun)

Aggregations

Autorun (arez.annotations.Autorun)1 Element (elemental2.dom.Element)1