• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • Tutorials
    • API Docs
  • Community
    • Gallery
    • Blog »
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • YUI 2
    • YUI Compressor
    • YUI Doc »
    • YUI Builder
    • YUI PHP Loader
    • YUI Test
    • YUI Website
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Tag Cloud

liferay davglass async solmsted greghinch table plugin datatable satyam caridy lsmith animation form foxxtrot widget ericf model io event yql css node apipkin nzakas jafl

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    Konami event (gallery-event-konami) on cdn

    Last Updated: 02/9/11
    + 3 -

    Luke Smith

    YUI Developer

    See 19 more by this user.

    Featured Item

    Created: 10/25/09
    Last CDN Push: 06/22/11
    Build Tag: gallery-2011.06.22-20-13
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.3.0
    Free for use.

    Based on the Konami code. Subscribers to this event should do something special. The event will be fired only once for each subscriber. With great power comes great responsibility, after all.

    • Tags:
    • lsmith
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Code Sample

    <script src="http://yui.yahooapis.com/3.3.0/build/yui/yui-min.js"></script>
    YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2011.06.22-20-13'
    }).use('gallery-event-konami', function(Y) {
     
        Y.one('#text-input').on('konami', function (e) {
            alert("You're a filthy cheater, and will be rewarded for it");
        });
     
    });

    Forum Posts

    Subject Author Date
    too funny! Andrew Wooldridge 10/29/09
    Why Differentiate _onHandle and _delegateHandle? Morgan Cheng 03/16/11
    Re: Why Differentiate _onHandle and _delegateHandle? Luke Smith 03/17/11

    © 2006-2011 Yahoo! Inc. All rights reserved.
    All code on this site is licensed under the BSD License unless stated otherwise.
    About This Site · Security Contact Info