docstr: Integer code for which combination of buttons are pressed on the
  mouse when the event is triggered.
  
  -  0: No button or un-initialized
  -  1: Primary button (usually left)
  -  2: Secondary button (usually right)
  -  4: Auxilary button (usually middle or mouse wheel button)
  -  8: 4th button (typically the "Browser Back" button)
  - 16: 5th button (typically the "Browser Forward" button)
  
  Combinations of buttons are represented as the decimal form of the
  bitmask of the values above.
  
  For example, pressing both the primary (1) and auxilary (4) buttons
  will result in a code of 5
  
  Returns
  -------
  int
docstr_tok: ["Integer","code","for","which","combination","of","buttons","are","pressed","on","the","mouse","when","the","event","is","triggered",".","-","0",":","No","button","or","un-initialized","-","1",":","Primary","button","(","usually","left",")","-","2",":","Secondary","button","(","usually","right",")","-","4",":","Auxilary","button","(","usually","middle","or","mouse","wheel","button",")","-","8",":","4th","button","(","typically","the","``","Browser","Back","''","button",")","-","16",":","5th","button","(","typically","the","``","Browser","Forward","''","button",")","Combinations","of","buttons","are","represented","as","the","decimal","form","of","the","bitmask","of","the","values","above",".","For","example",",","pressing","both","the","primary","(","1",")","and","auxilary","(","4",")","buttons","will","result","in","a","code","of","5","Returns","--","--","--","-","int"]
code: def buttons(self):
      """
      Integer code for which combination of buttons are pressed on the
      mouse when the event is triggered.
  
      -  0: No button or un-initialized
      -  1: Primary button (usually left)
      -  2: Secondary button (usually right)
      -  4: Auxilary button (usually middle or mouse wheel button)
      -  8: 4th button (typically the "Browser Back" button)
      - 16: 5th button (typically the "Browser Forward" button)
  
      Combinations of buttons are represented as the decimal form of the
      bitmask of the values above.
  
      For example, pressing both the primary (1) and auxilary (4) buttons
      will result in a code of 5
  
      Returns
      -------
      int
      """
      return self._buttons
  
imports: from plotly.utils import _list_repr_elided
label_desc: Use image node_id 8 for calling the InputDeviceState obj's underlying member method code with example usage: obj.buttons() and returns: self