Ryan I updated your code to show another method to do the same thing that
your code was doing before.
Note that it is now 'defaultEventType' rather than 'eventType' since you can
actually specify which event you want to target when adding the event.


On Tue, Dec 15, 2009 at 12:57 AM, Perrin Perrin
<[email protected]>wrote:

> Ryan the docs for Keyboard are very far out of date (and will hopefully be
> much updated in the next release)
>
> Check this out for more/better info:
> http://github.com/anutron/mootools-more/blob/master/Docs/Interface/Keyboard.md
>
> Excerpt:
> 'Keyboard has both a simple and advanced use cases. The advanced usage is
> intended for situations where more than one Keyboard instance is required
> (see next section). But for simple direct usage, you can just create an
> instance, attach events, and that's all. If you need more than one instance,
> it gets more complicated.'
>
>
> On Tue, Dec 15, 2009 at 12:32 AM, Ryan Florence <[email protected]>wrote:
>
>> http://mootools.net/shell/ZVrYZ/2/
>>
>> Why doesn't the second one work now?
>>
>>    Ryan Florence
>>
>>
>> On Dec 14, 2009, at 4:07 PM, Aaron Newton wrote:
>>
>> Perin, if you're in the Keyboard docs already, feel free to update the
>> example with active:true ...
>>
>> On Mon, Dec 14, 2009 at 11:25 AM, Perrin Perrin <
>> [email protected]> wrote:
>>
>>> Ryan,
>>>
>>> Currently you have to do one of the two options that I put into the shell
>>> below.
>>> http://mootools.net/shell/ZVrYZ/1/
>>>
>>> This may be remedied in future releases?
>>>
>>> --Perrin
>>>
>>>
>>> On Mon, Dec 14, 2009 at 10:12 AM, Ryan Florence <[email protected]>wrote:
>>>
>>>> http://mootools.net/shell/ZVrYZ/
>>>>
>>>> Straight from the docs, really, any ideas why this doesn't work?
>>>>
>>>> http://mootools.net/docs/more/Interface/Keyboard
>>>>
>>>> Ryan Florence
>>>>
>>>>
>>>>
>>>
>>
>>
>

Reply via email to