Custom elements: `disabled` click

Hi! So, disabled attribute disables click.delegate on a <button>, but not on a custom element? So what is the straightforward way to apply the same pattern to a custom element? Thanks in advance!