<HTML><HEAD><metacharset="UTF-8"><title>Widget - kvision</title><linkrel="stylesheet"href="../../../style.css"></HEAD><BODY><ahref="../../index.html">kvision</a> / <ahref="../index.html">pl.treksoft.kvision.core</a> / <ahref="./index.html">Widget</a><br/><br/><h1>Widget</h1><code><spanclass="keyword">open</span><spanclass="keyword">class </span><spanclass="identifier">Widget</span> <spanclass="symbol">:</span> <ahref="../-styled-component/index.html"><spanclass="identifier">StyledComponent</span></a><spanclass="symbol">, </span><ahref="../-component/index.html"><spanclass="identifier">Component</span></a></code><p>Base widget class. The parent of all component classes.</p><p>A simple widget is rendered as HTML DIV element.</p><h3>Types</h3><table><tbody><tr><td><p><ahref="-refresh-delegate/index.html">RefreshDelegate</a></p></td><td><code><spanclass="keyword">inner</span><spanclass="keyword">class </span><spanclass="identifier">RefreshDelegate</span><spanclass="symbol"><</span><spanclass="identifier">T</span><spanclass="symbol">></span></code></td></tr><tr><td><p><ahref="-refresh-delegate-provider/index.html">RefreshDelegateProvider</a></p></td><td><code><spanclass="keyword">inner</span><spanclass="keyword">class </span><spanclass="identifier">RefreshDelegateProvider</span><spanclass="symbol"><</span><spanclass="identifier">T</span><spanclass="symbol">></span></code></td></tr></tbody></table><h3>Constructors</h3><table><tbody><tr><td><p><ahref="-init-.html"><init></a></p></td><td><code><spanclass="identifier">Widget</span><spanclass="symbol">(</span><spanclass="identifier"id="pl.treksoft.kvision.core.Widget$<init>(kotlin.collections.Set((kotlin.String)))/classes">classes</span><spanclass="symbol">:</