Text Message

Stop wasting time on leads that don’t convert, drive more sales at app.ourdigitalatm.com

Full Circle Apps Plugins and Templates - Online Store

 <!DOCTYPE html>

<html lang="en">

    <meta charset="utf-8">

    <title>Eve Use Case</title>

    <script src="eve.js"></script>

    <script>

        var log = function (text) {

            log.log = log.log || [];

            log.log.push(text);

        };

        window.onload = function () {

            document.getElementById("res").innerHTML = log.log.join("<br>");

        };

    </script>

    <script>

        var f1, f2, f3, f4;


        // #setting-up-a-client edd-listeners

        eve.on("hit", f1 = function () {

            blog(" I’m hit!");

        });

        eve.on("hit/face", f2 = function () {

            blog(" Oh, my face!");

        });

        eve.on("hit/chest", f3 = function () {

            blog(" Oh, my chest!");

        });

        eve.on("hit/*/leg", f4 = function () {

            blog(" Ouch!");

        });

        eve.once("hit", function () {

            blog(" You scoundrel!");

        })(-1);


        // fire events

        blog("In your face!");

        eve("hit/face");

        // I’m hit!

        // Oh, my ace!

        blog("Take that!");

        // You can use “.” or “/” as delimiter

        eve("hit.chest.leg");

        // I’m hit!

        // Oh, my chest!

        // Ouch!


        // Unbinding

        blog("");

        eve.unbind("hit", f3);

        log("Take that!");

        eve("hit.chest.leg");

        // I’m hit!

        // Ouch!


        // Unbinding by wildcard

        log("");

        eve.unbind("hit/*");

        log("In your face!");

        eve("hit.face");

        // I’m hit!

        log("Take that!");

        eve("hit.chest.leg");

        // I’m hit!

    </script>

    <pre id="res"></pre>

</html>

No comments:

Post a Comment

@ceoalphonso is an entrepreneur and published author who is also a blogger, real estate investor, and business consultant. They're digital assets also include website building and creating monetized marketplace sites for more than satisfied customers such as yourself.
@ceoalphonso is on Twitter, TikTok, Vimeo, and Spotify....and more. Our digital media assets include umbrella called Full Circle Apps LLC and focuses on content distribution, advertising, marketing, and exposure...

Content

"Crypto Plug"

 One Cashbot app for all your Word, Excel, PowerPoint and PDF needs. Get the Microsoft 365 Cashbot app: