1625 zobrazení

DotVVM Minutes #3: Handling Enter and Escape keys in DotVVM


In order to provide good user experience for the users, websites should handle standard keys like Enter and Escape properly. In simple scenarios, you can just place the content in the form element and use the submit button, but you need more sophisticated tools in complicated situations like GridView inline editing or modal dialogs. In this video, I'll write a custom Knockout binding handler which can handle Enter and Escape keys on any element and press the correct buttons. Then I'll wrap this functionality using DotVVM attached properties to provide IntelliSense in the markup. https://www.dotvvm.com https://github.com/riganti/dotvvm Follow us on Twitter (https://twitter.com/dotvvm) Ask us anything on Gitter (https://gitter.im/riganti/dotvvm)


    Zeptat se autora

    Zaslat dotaz