Whimsicality

(noun)

1.  The quality or state of being whimsical.

2.  A whimsical idea or its expression; a caprice.