github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/contextmenus/apis.js.wasm.yaml (about)

     1  - File: webext/chrome/context_menus.json
     2    WebextProp:
     3      Name: ACTION_MENU_TOP_LEVEL_LIMIT
     4      Type:
     5        Name: DOMString
     6      ExtAttrs:
     7        - Name: Namespace
     8          Values:
     9            - chrome
    10            - contextMenus
    11  - File: webext/chrome/context_menus.json
    12    Enum:
    13      Name: ContextType
    14      Values:
    15        - all
    16        - page
    17        - frame
    18        - selection
    19        - link
    20        - editable
    21        - image
    22        - video
    23        - audio
    24        - launcher
    25        - browser_action
    26        - page_action
    27        - action
    28      ExtAttrs:
    29        - Name: Namespace
    30          Values:
    31            - chrome
    32            - contextMenus
    33  - File: webext/chrome/context_menus.json
    34    Callback:
    35      Name: CreateArgCallback
    36      Returns:
    37        - Name: undefined
    38      ExtAttrs:
    39        - Name: Namespace
    40          Values:
    41            - chrome
    42            - contextMenus
    43  - File: webext/chrome/context_menus.json
    44    Dict:
    45      Name: CreateArgCreateProperties
    46      ExtAttrs:
    47        - Name: Namespace
    48          Values:
    49            - chrome
    50            - contextMenus
    51      Fields:
    52        - Name: checked
    53          Type:
    54            Name: boolean
    55          ExtAttrs:
    56            - Name: Namespace
    57              Values:
    58                - chrome
    59                - contextMenus
    60        - Name: contexts
    61          Type:
    62            Name: sequence
    63            Params:
    64              - Name: ContextType
    65                ExtAttrs:
    66                  - Name: Namespace
    67                    Values:
    68                      - chrome
    69                      - contextMenus
    70            ExtAttrs:
    71              - Name: Namespace
    72                Values:
    73                  - chrome
    74                  - contextMenus
    75          ExtAttrs:
    76            - Name: Namespace
    77              Values:
    78                - chrome
    79                - contextMenus
    80        - Name: documentUrlPatterns
    81          Type:
    82            Name: sequence
    83            Params:
    84              - Name: DOMString
    85            ExtAttrs:
    86              - Name: Namespace
    87                Values:
    88                  - chrome
    89                  - contextMenus
    90          ExtAttrs:
    91            - Name: Namespace
    92              Values:
    93                - chrome
    94                - contextMenus
    95        - Name: enabled
    96          Type:
    97            Name: boolean
    98          ExtAttrs:
    99            - Name: Namespace
   100              Values:
   101                - chrome
   102                - contextMenus
   103        - Name: id
   104          Type:
   105            Name: DOMString
   106          ExtAttrs:
   107            - Name: Namespace
   108              Values:
   109                - chrome
   110                - contextMenus
   111        - Name: onclick
   112          Type:
   113            Name: CreateArgCreatePropertiesFieldOnclick
   114            ExtAttrs:
   115              - Name: Namespace
   116                Values:
   117                  - chrome
   118                  - contextMenus
   119          ExtAttrs:
   120            - Name: Namespace
   121              Values:
   122                - chrome
   123                - contextMenus
   124        - Name: parentId
   125          Type:
   126            Union:
   127              - Name: long long
   128              - Name: DOMString
   129          ExtAttrs:
   130            - Name: Namespace
   131              Values:
   132                - chrome
   133                - contextMenus
   134        - Name: targetUrlPatterns
   135          Type:
   136            Name: sequence
   137            Params:
   138              - Name: DOMString
   139            ExtAttrs:
   140              - Name: Namespace
   141                Values:
   142                  - chrome
   143                  - contextMenus
   144          ExtAttrs:
   145            - Name: Namespace
   146              Values:
   147                - chrome
   148                - contextMenus
   149        - Name: title
   150          Type:
   151            Name: DOMString
   152          ExtAttrs:
   153            - Name: Namespace
   154              Values:
   155                - chrome
   156                - contextMenus
   157        - Name: type
   158          Type:
   159            Name: ItemType
   160            ExtAttrs:
   161              - Name: Namespace
   162                Values:
   163                  - chrome
   164                  - contextMenus
   165          ExtAttrs:
   166            - Name: Namespace
   167              Values:
   168                - chrome
   169                - contextMenus
   170        - Name: visible
   171          Type:
   172            Name: boolean
   173          ExtAttrs:
   174            - Name: Namespace
   175              Values:
   176                - chrome
   177                - contextMenus
   178  - File: webext/chrome/context_menus.json
   179    Callback:
   180      Name: CreateArgCreatePropertiesFieldOnclick
   181      Args:
   182        - Name: info
   183          Type:
   184            Name: OnClickData
   185            ExtAttrs:
   186              - Name: Namespace
   187                Values:
   188                  - chrome
   189                  - contextMenus
   190        - Name: tab
   191          Type:
   192            Name: Tab
   193            ExtAttrs:
   194              - Name: Namespace
   195                Values:
   196                  - chrome
   197                  - tabs
   198      Returns:
   199        - Name: undefined
   200      ExtAttrs:
   201        - Name: Namespace
   202          Values:
   203            - chrome
   204            - contextMenus
   205  - File: webext/chrome/context_menus.json
   206    Enum:
   207      Name: ItemType
   208      Values:
   209        - normal
   210        - checkbox
   211        - radio
   212        - separator
   213      ExtAttrs:
   214        - Name: Namespace
   215          Values:
   216            - chrome
   217            - contextMenus
   218  - File: webext/chrome/context_menus.json
   219    Dict:
   220      Name: OnClickData
   221      ExtAttrs:
   222        - Name: Namespace
   223          Values:
   224            - chrome
   225            - contextMenus
   226      Fields:
   227        - Name: checked
   228          Type:
   229            Name: boolean
   230          ExtAttrs:
   231            - Name: Namespace
   232              Values:
   233                - chrome
   234                - contextMenus
   235        - Name: editable
   236          Required: true
   237          Type:
   238            Name: boolean
   239          ExtAttrs:
   240            - Name: Namespace
   241              Values:
   242                - chrome
   243                - contextMenus
   244        - Name: frameId
   245          Type:
   246            Name: long long
   247          ExtAttrs:
   248            - Name: Namespace
   249              Values:
   250                - chrome
   251                - contextMenus
   252        - Name: frameUrl
   253          Type:
   254            Name: DOMString
   255          ExtAttrs:
   256            - Name: Namespace
   257              Values:
   258                - chrome
   259                - contextMenus
   260        - Name: linkUrl
   261          Type:
   262            Name: DOMString
   263          ExtAttrs:
   264            - Name: Namespace
   265              Values:
   266                - chrome
   267                - contextMenus
   268        - Name: mediaType
   269          Type:
   270            Name: DOMString
   271          ExtAttrs:
   272            - Name: Namespace
   273              Values:
   274                - chrome
   275                - contextMenus
   276        - Name: menuItemId
   277          Required: true
   278          Type:
   279            Union:
   280              - Name: long long
   281              - Name: DOMString
   282          ExtAttrs:
   283            - Name: Namespace
   284              Values:
   285                - chrome
   286                - contextMenus
   287        - Name: pageUrl
   288          Type:
   289            Name: DOMString
   290          ExtAttrs:
   291            - Name: Namespace
   292              Values:
   293                - chrome
   294                - contextMenus
   295        - Name: parentMenuItemId
   296          Type:
   297            Union:
   298              - Name: long long
   299              - Name: DOMString
   300          ExtAttrs:
   301            - Name: Namespace
   302              Values:
   303                - chrome
   304                - contextMenus
   305        - Name: selectionText
   306          Type:
   307            Name: DOMString
   308          ExtAttrs:
   309            - Name: Namespace
   310              Values:
   311                - chrome
   312                - contextMenus
   313        - Name: srcUrl
   314          Type:
   315            Name: DOMString
   316          ExtAttrs:
   317            - Name: Namespace
   318              Values:
   319                - chrome
   320                - contextMenus
   321        - Name: wasChecked
   322          Type:
   323            Name: boolean
   324          ExtAttrs:
   325            - Name: Namespace
   326              Values:
   327                - chrome
   328                - contextMenus
   329  - File: webext/chrome/context_menus.json
   330    Callback:
   331      Name: RemoveAllArgCallback
   332      Returns:
   333        - Name: undefined
   334      ExtAttrs:
   335        - Name: Namespace
   336          Values:
   337            - chrome
   338            - contextMenus
   339  - File: webext/chrome/context_menus.json
   340    Callback:
   341      Name: RemoveArgCallback
   342      Returns:
   343        - Name: undefined
   344      ExtAttrs:
   345        - Name: Namespace
   346          Values:
   347            - chrome
   348            - contextMenus
   349  - File: webext/chrome/context_menus.json
   350    Callback:
   351      Name: UpdateArgCallback
   352      Returns:
   353        - Name: undefined
   354      ExtAttrs:
   355        - Name: Namespace
   356          Values:
   357            - chrome
   358            - contextMenus
   359  - File: webext/chrome/context_menus.json
   360    Dict:
   361      Name: UpdateArgUpdateProperties
   362      ExtAttrs:
   363        - Name: Namespace
   364          Values:
   365            - chrome
   366            - contextMenus
   367      Fields:
   368        - Name: checked
   369          Type:
   370            Name: boolean
   371          ExtAttrs:
   372            - Name: Namespace
   373              Values:
   374                - chrome
   375                - contextMenus
   376        - Name: contexts
   377          Type:
   378            Name: sequence
   379            Params:
   380              - Name: ContextType
   381                ExtAttrs:
   382                  - Name: Namespace
   383                    Values:
   384                      - chrome
   385                      - contextMenus
   386            ExtAttrs:
   387              - Name: Namespace
   388                Values:
   389                  - chrome
   390                  - contextMenus
   391          ExtAttrs:
   392            - Name: Namespace
   393              Values:
   394                - chrome
   395                - contextMenus
   396        - Name: documentUrlPatterns
   397          Type:
   398            Name: sequence
   399            Params:
   400              - Name: DOMString
   401            ExtAttrs:
   402              - Name: Namespace
   403                Values:
   404                  - chrome
   405                  - contextMenus
   406          ExtAttrs:
   407            - Name: Namespace
   408              Values:
   409                - chrome
   410                - contextMenus
   411        - Name: enabled
   412          Type:
   413            Name: boolean
   414          ExtAttrs:
   415            - Name: Namespace
   416              Values:
   417                - chrome
   418                - contextMenus
   419        - Name: onclick
   420          Type:
   421            Name: UpdateArgUpdatePropertiesFieldOnclick
   422            ExtAttrs:
   423              - Name: Namespace
   424                Values:
   425                  - chrome
   426                  - contextMenus
   427          ExtAttrs:
   428            - Name: Namespace
   429              Values:
   430                - chrome
   431                - contextMenus
   432        - Name: parentId
   433          Type:
   434            Union:
   435              - Name: long long
   436              - Name: DOMString
   437          ExtAttrs:
   438            - Name: Namespace
   439              Values:
   440                - chrome
   441                - contextMenus
   442        - Name: targetUrlPatterns
   443          Type:
   444            Name: sequence
   445            Params:
   446              - Name: DOMString
   447            ExtAttrs:
   448              - Name: Namespace
   449                Values:
   450                  - chrome
   451                  - contextMenus
   452          ExtAttrs:
   453            - Name: Namespace
   454              Values:
   455                - chrome
   456                - contextMenus
   457        - Name: title
   458          Type:
   459            Name: DOMString
   460          ExtAttrs:
   461            - Name: Namespace
   462              Values:
   463                - chrome
   464                - contextMenus
   465        - Name: type
   466          Type:
   467            Name: ItemType
   468            ExtAttrs:
   469              - Name: Namespace
   470                Values:
   471                  - chrome
   472                  - contextMenus
   473          ExtAttrs:
   474            - Name: Namespace
   475              Values:
   476                - chrome
   477                - contextMenus
   478        - Name: visible
   479          Type:
   480            Name: boolean
   481          ExtAttrs:
   482            - Name: Namespace
   483              Values:
   484                - chrome
   485                - contextMenus
   486  - File: webext/chrome/context_menus.json
   487    Callback:
   488      Name: UpdateArgUpdatePropertiesFieldOnclick
   489      Args:
   490        - Name: info
   491          Type:
   492            Name: OnClickData
   493            ExtAttrs:
   494              - Name: Namespace
   495                Values:
   496                  - chrome
   497                  - contextMenus
   498        - Name: tab
   499          Type:
   500            Name: Tab
   501            ExtAttrs:
   502              - Name: Namespace
   503                Values:
   504                  - chrome
   505                  - tabs
   506      Returns:
   507        - Name: undefined
   508      ExtAttrs:
   509        - Name: Namespace
   510          Values:
   511            - chrome
   512            - contextMenus
   513  - File: webext/chrome/context_menus.json
   514    WebextFunc:
   515      Name: create
   516      Args:
   517        - Name: createProperties
   518          Type:
   519            Name: CreateArgCreateProperties
   520            ExtAttrs:
   521              - Name: Namespace
   522                Values:
   523                  - chrome
   524                  - contextMenus
   525        - Name: callback
   526          Optional: true
   527          Type:
   528            Name: CreateArgCallback
   529            ExtAttrs:
   530              - Name: Namespace
   531                Values:
   532                  - chrome
   533                  - contextMenus
   534      Returns:
   535        - Union:
   536            - Name: long long
   537            - Name: DOMString
   538      ExtAttrs:
   539        - Name: Namespace
   540          Values:
   541            - chrome
   542            - contextMenus
   543  - File: webext/chrome/context_menus.json
   544    WebextEvent:
   545      Name: onClicked
   546      Args:
   547        - Name: info
   548          Type:
   549            Name: OnClickData
   550            ExtAttrs:
   551              - Name: Namespace
   552                Values:
   553                  - chrome
   554                  - contextMenus
   555        - Name: tab
   556          Optional: true
   557          Type:
   558            Name: Tab
   559            ExtAttrs:
   560              - Name: Namespace
   561                Values:
   562                  - chrome
   563                  - tabs
   564      Returns:
   565        - Name: undefined
   566      ExtAttrs:
   567        - Name: Namespace
   568          Values:
   569            - chrome
   570            - contextMenus
   571  - File: webext/chrome/context_menus.json
   572    WebextFunc:
   573      Name: remove
   574      Args:
   575        - Name: menuItemId
   576          Type:
   577            Union:
   578              - Name: long long
   579              - Name: DOMString
   580        - Name: callback
   581          Optional: true
   582          Type:
   583            Name: RemoveArgCallback
   584            ExtAttrs:
   585              - Name: Namespace
   586                Values:
   587                  - chrome
   588                  - contextMenus
   589      Returns:
   590        - Name: undefined
   591      ExtAttrs:
   592        - Name: Namespace
   593          Values:
   594            - chrome
   595            - contextMenus
   596  - File: webext/chrome/context_menus.json
   597    WebextFunc:
   598      Name: removeAll
   599      Args:
   600        - Name: callback
   601          Optional: true
   602          Type:
   603            Name: RemoveAllArgCallback
   604            ExtAttrs:
   605              - Name: Namespace
   606                Values:
   607                  - chrome
   608                  - contextMenus
   609      Returns:
   610        - Name: undefined
   611      ExtAttrs:
   612        - Name: Namespace
   613          Values:
   614            - chrome
   615            - contextMenus
   616  - File: webext/chrome/context_menus.json
   617    WebextFunc:
   618      Name: update
   619      Args:
   620        - Name: id
   621          Type:
   622            Union:
   623              - Name: long long
   624              - Name: DOMString
   625        - Name: updateProperties
   626          Type:
   627            Name: UpdateArgUpdateProperties
   628            ExtAttrs:
   629              - Name: Namespace
   630                Values:
   631                  - chrome
   632                  - contextMenus
   633        - Name: callback
   634          Optional: true
   635          Type:
   636            Name: UpdateArgCallback
   637            ExtAttrs:
   638              - Name: Namespace
   639                Values:
   640                  - chrome
   641                  - contextMenus
   642      Returns:
   643        - Name: undefined
   644      ExtAttrs:
   645        - Name: Namespace
   646          Values:
   647            - chrome
   648            - contextMenus