CustomWidget is a user defined widget. In case WI8Window hierarchy does not fits particular needs (an specific HTML widget is not present in hierachy), it is posible to use an instance of CustomWidget. By default a CustomWidget wrapps an span HTML element.