Jadelet Example Garden


If an attribute value is false or null it will not appear. If the attribute has a value it will appear. This can sometimes be surprising for values like "false" as opposed to false.

  h2 Disabled attribute values
  button(disabled=false) false
  button(disabled=null) null
  button(disabled="false") "false"
  button(disabled=true) true
  button(disabled="") empty string
buttonElement = Template()