This can be changed to `@options.onResized?()`, but I'd much rather add event-based callbacks.