In this example the Custom element Calendar is disabled. In order to disable the widget, set its disabled property to true.