Bootstrap - Unanswered Questions

bootstrap

What does the .bs.modal in the below code mean?

$('#myModal').on('shown.bs.modal', function () {
  $('#myInput').focus()
})

Need research.

What is the purpose of the label class?

Not sure.

<span class="label label-default">Default</span>
<span class="label label-primary">Primary</span>
<span class="label label-success">Success</span>
<span class="label label-info">Info</span>
<span class="label label-warning">Warning</span>
<span class="label label-danger">Danger</span>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License