title: How to get the value of data-* attribute in knockout js
body: <p>I'm new to knockout js and I have came across an issue where in the following lines of code</p>
  
  <pre><code>&lt;input type="checkbox" value="true"  data-bind =" attr: { id: 'chk' + action.id, value: id, 'data-id': action.id }, checked: $root.checked"  name="checkbox" class="checkbox"&gt;
  </code></pre>
  
  <p>I have added <code>data-id</code> and I wanna get that value in the knockout view model. How can I do that with knockout js</p>