{
    "description": {
        "author": "Salesforce",
        "text": [
            "Component that toggles the expanded or collapsed state of a rendition using a button icon.",
            "Selector: setup-expandable-rendition-toggle"
        ]
    },
    "shadow": {
        "elements": [
            {
                "name": "expandToggleContainer",
                "selector": {
                    "css": ".expand-toggle"
                },
                "description": "Represents the container for the toggle functionality, visible only when `isVisible` is true",
                "nullable": true,
                "elements": [
                    {
                        "name": "toggleButtonIcon",
                        "selector": {
                            "css": "lightning-button-icon"
                        },
                        "type": "utam-lightning/pageObjects/buttonIcon",
                        "description": "Represents the Lightning button icon used for toggling the rendition state",
                        "public": true
                    }
                ]
            }
        ]
    },
    "methods": [
        {
            "name": "isExpandToggleVisible",
            "description": {
                "text": [
                    "Check that the expand toggle container is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "expandToggleContainer",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isExpandToggleEnabled",
            "description": {
                "text": [
                    "Check if the expand toggle container is enabled"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "expandToggleContainer",
                    "apply": "isEnabled"
                }
            ]
        },
        {
            "name": "verifyExpandToggleContainerPresence",
            "description": {
                "text": [
                    "Returns true if element \"expandToggleContainer\" present on the page"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "expandToggleContainer",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        }
    ]
}