code: private void encodeMarkup(final FacesContext context, final SlideOut slideOut) throws IOException {
          final ResponseWriter writer = context.getResponseWriter();
          final String clientId = slideOut.getClientId(context);
          final String widgetVar = slideOut.resolveWidgetVar();
  
          writer.startElement("div", slideOut);
          writer.writeAttribute("id", clientId, "id");
          writer.writeAttribute(HTML.WIDGET_VAR, widgetVar, null);
  
          if (slideOut.getPanelStyleClass() != null) {
              writer.writeAttribute("class", slideOut.getPanelStyleClass(), "styleClass");
          }
          if (slideOut.getPanelStyle() != null) {
              writer.writeAttribute("style", slideOut.getPanelStyle(), "style");
          }
  
          // handle
          encodeHandle(context, slideOut);
  
          // content of the panel
          renderChildren(context, slideOut);
  
          writer.endElement("div");
      }
docs: Create the HTML markup for the DOM.