iFrame#

pydantic model zero_true.iFrame#

This is a representation of a standard iframe component

Show JSON schema
{
   "title": "iFrame",
   "description": "This is a representation of a standard iframe component",
   "type": "object",
   "properties": {
      "id": {
         "description": "Unique id for a component",
         "title": "Id",
         "type": "string"
      },
      "variable_name": {
         "default": "",
         "description": "Optional variable name associated with a component",
         "title": "Variable Name",
         "type": "string"
      },
      "component": {
         "default": "iframe",
         "description": "Vue component name",
         "title": "Component",
         "type": "string"
      },
      "src": {
         "default": "",
         "description": "Source URL of the iframe",
         "title": "Src",
         "type": "string"
      },
      "width": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "string"
            }
         ],
         "default": "100%",
         "description": "Width of the iframe",
         "title": "Width"
      },
      "height": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "string"
            }
         ],
         "default": 300,
         "description": "Height of the iframe",
         "title": "Height"
      },
      "frameborder": {
         "default": 0,
         "description": "Frame border of the iframe",
         "title": "Frameborder",
         "type": "integer"
      },
      "scrolling": {
         "default": "auto",
         "description": "Scrolling of the iframe",
         "title": "Scrolling",
         "type": "string"
      },
      "allowtransparency": {
         "default": false,
         "description": "Allow transparency of the iframe",
         "title": "Allowtransparency",
         "type": "boolean"
      }
   },
   "required": [
      "id"
   ]
}

field allowtransparency: bool = False#

Allow transparency of the iframe

field component: str = 'iframe'#

Vue component name

field frameborder: int = 0#

Frame border of the iframe

field height: int | str = 300#

Height of the iframe

field scrolling: str = 'auto'#

Scrolling of the iframe

field src: str = ''#

Source URL of the iframe

field width: int | str = '100%'#

Width of the iframe