import helloComponent from './components/hello.marko';

class {
    onCreate() {
        this.helloReceived = false;
    }

    handleHello() {
        this.helloReceived = true;
    }
}

<div>
    <include(helloComponent) on-hello('handleHello')/>
</div>
