Description
- P.when('A','ready').execute(function(A) {
- function setFeatureBulletsExpanderCollapsedHeight() {
- var $ = A.$;
- var PRODUCT_OVERVIEW_V2_FEATURE_MAX_HEIGHT = 540;
- var FEATUREBULLETS_TOP_MARGIN_OFFSET_CORRECTION = 12;
- var EXPANDER_HEADING_HEIGHT = 20;
- var expanderElement = $("#pov2FeatureBulletsExpander");
- if(expanderElement !== null) {
- var productOverviewFeatureElement = $('#productOverview_feature_div');
- var featureBulletsExpanderContent = $('#pov2FeatureBulletsExpanderContent');
- var featureBulletsExpanderHeading = $('#pov2FeatureBulletsExpanderHeading');
- var expanderContentHeight = featureBulletsExpanderContent.height();
- var productOverviewFeatureElementHeight = productOverviewFeatureElement !== null ? productOverviewFeatureElement.height() : 0;
- var expanderCollapsedHeight = Math.min(PRODUCT_OVERVIEW_V2_FEATURE_MAX_HEIGHT - productOverviewFeatureElementHeight - FEATUREBULLETS_TOP_MARGIN_OFFSET_CORRECTION, expanderContentHeight);
- if (expanderContentHeight === expanderCollapsedHeight) {
- featureBulletsExpanderContent.css("padding-bottom", "0px");
- }
- expanderCollapsedHeight = expanderCollapsedHeight < EXPANDER_HEADING_HEIGHT ? EXPANDER_HEADING_HEIGHT : expanderCollapsedHeight;
- expanderElement.attr("data-a-expander-collapsed-height", expanderCollapsedHeight);
- featureBulletsExpanderContent.css('display', '');
- featureBulletsExpanderHeading.css('display', '');
- }
- }
- function logFeatureBulletsPOv2ExpanderMetric(metric) {
- if (typeof window.ue !== 'undefined' && typeof metric !== 'undefined' && typeof window.ue.count !== 'undefined') {
- window.ue.count(metric, ((window.ue.count(metric) || 0) + 1));
- }
- }
- setFeatureBulletsExpanderCollapsedHeight();
- A.on('a:expander:pov2FeatureBulletsExpander:toggle:expand', function(data) {
- logFeatureBulletsPOv2ExpanderMetric('featureBulletsPOv2DesktopExpanderExpanded');
- });
- A.on('a:expander:pov2FeatureBulletsExpander:toggle:collapse', function(data) {
- logFeatureBulletsPOv2ExpanderMetric('featureBulletsPOv2DesktopExpanderCollapsed');
- });
- });
Krylon COLORmaxx spray paint provides brilliant, on-trend colors in a variety of sheens. This product has smooth application with added rust protection. The easy push big button tip provides the ability to spray at any angle for fast coverage to get your project done. Premium coverage and superior color with excellent adhesion and durability, Indoor/outdoor use with rust protection, Big button spray tip with spray any way capabilities, Dries in 10 minutes or less