SignalCommandMapExtension and Optional Command Parameters

dan's Avatar

dan

01 Apr, 2014 04:18 PM

Does anyone using the SignalCommandMap extension know if signals can dispatch optional parameters (with a default value) for their mapped commands?

  1. 1 Posted by dan on 02 Apr, 2014 04:49 PM

    dan's Avatar

    Well I couldn't fine a built in way, however by overriding the dispatch method and inspecting the ...rest parameter I was able to accomplish.

  2. dan closed this discussion on 02 Apr, 2014 04:49 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac