Fetching contributors…
Cannot retrieve contributors at this time
29 lines (15 sloc) 800 Bytes


kind: disabled

The kind for disabling the blocks. This make the block transparent a bit, then removes cursor and any pointer events on it.


By default the block would have 50% opacity, if you'll need to change this, just pass numeric param to it:

kind: disabled 0.6

Nested disabled blocks

This kind can be used to disable whole groups of elements, in that case all nested disabled elements would have proper opacity.

In case you'd need to disable this behaviour or redefine the selector for nested elements, you could use -nested element:

kind: disabled (-nested '')


By default the disabled element would have pointer-events: none, to turn off this behaviour, you can use with-events param:

kind: disabled with-events