This example actively searches a contacts database as the user enters text.
Note that the "server side" implementation is mocked out using mockjax, so you can see the entire implementation. Click the "Source Code" tab to see the code.
ic-post-toattributes. It does this on keyup by setting the
keyup, but only issues the request when the input value changes by using the
changedmodifier in the trigger. In order to avoid overwhelming the server with requests, a trigger delay of 500 milliseconds is added with the
ic-trigger-delayattributes. The input targets the body of the table by using the
ic-targetattribute, and the server side produces rows of matching contacts. As usual, an indicator is called out with the
|First Name||Last Name|