             viewModel.isHovering(false);
                }
            });

            // Function to return if the element has enough content to be expanded.
            // Used to display the icon on the property box.
            viewModel.isExpandable = function () {
                if (!viewModel.isHovering() && viewModel.bustedWidth()) {
                    if (!viewModel.hasExpanded()) {
                        return true;
                    }

                }
                return false;
            };

            // Function to return if the element should currently be in an expanded state.
            viewModel.hasExpanded = function () {
                if (viewModel.isHovering() && viewModel.bustedWidth()) {
                    return true;
                }
                return false;
            };
        }

        return inputPresentationExtension;
    }
);