text: #!/usr/bin/env python
  # coding: utf-8
  
  # Copyright (c) Weining.
  # Distributed under the terms of the Modified BSD License.
  
  """
  TODO: Add module docstring
  """
  
  from ipywidgets import DOMWidget
  from traitlets import Unicode, Integer
  from ._frontend import module_name, module_version
  
  
  class ExampleWidget(DOMWidget):
      """TODO: Add docstring here
      """
      _model_name = Unicode('ExampleModel').tag(sync=True)
      _model_module = Unicode(module_name).tag(sync=True)
      _model_module_version = Unicode(module_version).tag(sync=True)
      _view_name = Unicode('ExampleView').tag(sync=True)
      _view_module = Unicode(module_name).tag(sync=True)
      _view_module_version = Unicode(module_version).tag(sync=True)
  
      # Your widget state goes here. Make sure to update the corresponding
      # JavaScript widget state (defaultModelProperties) in widget.ts
      pdfName = Unicode('Jupyter').tag(sync=True)
      viewCount = Integer(0).tag(sync=True)
  
      def setpdfName(self, name):
          self.pdfName = name
  
      def getViewCount(self):
          return self.viewCount
  