github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/apis37_js_wasm.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  package web
     5  
     6  import (
     7  	"github.com/primecitizens/pcz/std/ffi/js"
     8  	"github.com/primecitizens/pcz/std/plat/js/web/bindings"
     9  )
    10  
    11  type HTMLAudioElement struct {
    12  	HTMLMediaElement
    13  }
    14  
    15  func (this HTMLAudioElement) Once() HTMLAudioElement {
    16  	this.ref.Once()
    17  	return this
    18  }
    19  
    20  func (this HTMLAudioElement) Ref() js.Ref {
    21  	return this.HTMLMediaElement.Ref()
    22  }
    23  
    24  func (this HTMLAudioElement) FromRef(ref js.Ref) HTMLAudioElement {
    25  	this.HTMLMediaElement = this.HTMLMediaElement.FromRef(ref)
    26  	return this
    27  }
    28  
    29  func (this HTMLAudioElement) Free() {
    30  	this.ref.Free()
    31  }
    32  
    33  type HTMLBRElement struct {
    34  	HTMLElement
    35  }
    36  
    37  func (this HTMLBRElement) Once() HTMLBRElement {
    38  	this.ref.Once()
    39  	return this
    40  }
    41  
    42  func (this HTMLBRElement) Ref() js.Ref {
    43  	return this.HTMLElement.Ref()
    44  }
    45  
    46  func (this HTMLBRElement) FromRef(ref js.Ref) HTMLBRElement {
    47  	this.HTMLElement = this.HTMLElement.FromRef(ref)
    48  	return this
    49  }
    50  
    51  func (this HTMLBRElement) Free() {
    52  	this.ref.Free()
    53  }
    54  
    55  // Clear returns the value of property "HTMLBRElement.clear".
    56  //
    57  // It returns ok=false if there is no such property.
    58  func (this HTMLBRElement) Clear() (ret js.String, ok bool) {
    59  	ok = js.True == bindings.GetHTMLBRElementClear(
    60  		this.ref, js.Pointer(&ret),
    61  	)
    62  	return
    63  }
    64  
    65  // SetClear sets the value of property "HTMLBRElement.clear" to val.
    66  //
    67  // It returns false if the property cannot be set.
    68  func (this HTMLBRElement) SetClear(val js.String) bool {
    69  	return js.True == bindings.SetHTMLBRElementClear(
    70  		this.ref,
    71  		val.Ref(),
    72  	)
    73  }
    74  
    75  type HTMLBaseElement struct {
    76  	HTMLElement
    77  }
    78  
    79  func (this HTMLBaseElement) Once() HTMLBaseElement {
    80  	this.ref.Once()
    81  	return this
    82  }
    83  
    84  func (this HTMLBaseElement) Ref() js.Ref {
    85  	return this.HTMLElement.Ref()
    86  }
    87  
    88  func (this HTMLBaseElement) FromRef(ref js.Ref) HTMLBaseElement {
    89  	this.HTMLElement = this.HTMLElement.FromRef(ref)
    90  	return this
    91  }
    92  
    93  func (this HTMLBaseElement) Free() {
    94  	this.ref.Free()
    95  }
    96  
    97  // Href returns the value of property "HTMLBaseElement.href".
    98  //
    99  // It returns ok=false if there is no such property.
   100  func (this HTMLBaseElement) Href() (ret js.String, ok bool) {
   101  	ok = js.True == bindings.GetHTMLBaseElementHref(
   102  		this.ref, js.Pointer(&ret),
   103  	)
   104  	return
   105  }
   106  
   107  // SetHref sets the value of property "HTMLBaseElement.href" to val.
   108  //
   109  // It returns false if the property cannot be set.
   110  func (this HTMLBaseElement) SetHref(val js.String) bool {
   111  	return js.True == bindings.SetHTMLBaseElementHref(
   112  		this.ref,
   113  		val.Ref(),
   114  	)
   115  }
   116  
   117  // Target returns the value of property "HTMLBaseElement.target".
   118  //
   119  // It returns ok=false if there is no such property.
   120  func (this HTMLBaseElement) Target() (ret js.String, ok bool) {
   121  	ok = js.True == bindings.GetHTMLBaseElementTarget(
   122  		this.ref, js.Pointer(&ret),
   123  	)
   124  	return
   125  }
   126  
   127  // SetTarget sets the value of property "HTMLBaseElement.target" to val.
   128  //
   129  // It returns false if the property cannot be set.
   130  func (this HTMLBaseElement) SetTarget(val js.String) bool {
   131  	return js.True == bindings.SetHTMLBaseElementTarget(
   132  		this.ref,
   133  		val.Ref(),
   134  	)
   135  }
   136  
   137  type HTMLBodyElement struct {
   138  	HTMLElement
   139  }
   140  
   141  func (this HTMLBodyElement) Once() HTMLBodyElement {
   142  	this.ref.Once()
   143  	return this
   144  }
   145  
   146  func (this HTMLBodyElement) Ref() js.Ref {
   147  	return this.HTMLElement.Ref()
   148  }
   149  
   150  func (this HTMLBodyElement) FromRef(ref js.Ref) HTMLBodyElement {
   151  	this.HTMLElement = this.HTMLElement.FromRef(ref)
   152  	return this
   153  }
   154  
   155  func (this HTMLBodyElement) Free() {
   156  	this.ref.Free()
   157  }
   158  
   159  // Text returns the value of property "HTMLBodyElement.text".
   160  //
   161  // It returns ok=false if there is no such property.
   162  func (this HTMLBodyElement) Text() (ret js.String, ok bool) {
   163  	ok = js.True == bindings.GetHTMLBodyElementText(
   164  		this.ref, js.Pointer(&ret),
   165  	)
   166  	return
   167  }
   168  
   169  // SetText sets the value of property "HTMLBodyElement.text" to val.
   170  //
   171  // It returns false if the property cannot be set.
   172  func (this HTMLBodyElement) SetText(val js.String) bool {
   173  	return js.True == bindings.SetHTMLBodyElementText(
   174  		this.ref,
   175  		val.Ref(),
   176  	)
   177  }
   178  
   179  // Link returns the value of property "HTMLBodyElement.link".
   180  //
   181  // It returns ok=false if there is no such property.
   182  func (this HTMLBodyElement) Link() (ret js.String, ok bool) {
   183  	ok = js.True == bindings.GetHTMLBodyElementLink(
   184  		this.ref, js.Pointer(&ret),
   185  	)
   186  	return
   187  }
   188  
   189  // SetLink sets the value of property "HTMLBodyElement.link" to val.
   190  //
   191  // It returns false if the property cannot be set.
   192  func (this HTMLBodyElement) SetLink(val js.String) bool {
   193  	return js.True == bindings.SetHTMLBodyElementLink(
   194  		this.ref,
   195  		val.Ref(),
   196  	)
   197  }
   198  
   199  // VLink returns the value of property "HTMLBodyElement.vLink".
   200  //
   201  // It returns ok=false if there is no such property.
   202  func (this HTMLBodyElement) VLink() (ret js.String, ok bool) {
   203  	ok = js.True == bindings.GetHTMLBodyElementVLink(
   204  		this.ref, js.Pointer(&ret),
   205  	)
   206  	return
   207  }
   208  
   209  // SetVLink sets the value of property "HTMLBodyElement.vLink" to val.
   210  //
   211  // It returns false if the property cannot be set.
   212  func (this HTMLBodyElement) SetVLink(val js.String) bool {
   213  	return js.True == bindings.SetHTMLBodyElementVLink(
   214  		this.ref,
   215  		val.Ref(),
   216  	)
   217  }
   218  
   219  // ALink returns the value of property "HTMLBodyElement.aLink".
   220  //
   221  // It returns ok=false if there is no such property.
   222  func (this HTMLBodyElement) ALink() (ret js.String, ok bool) {
   223  	ok = js.True == bindings.GetHTMLBodyElementALink(
   224  		this.ref, js.Pointer(&ret),
   225  	)
   226  	return
   227  }
   228  
   229  // SetALink sets the value of property "HTMLBodyElement.aLink" to val.
   230  //
   231  // It returns false if the property cannot be set.
   232  func (this HTMLBodyElement) SetALink(val js.String) bool {
   233  	return js.True == bindings.SetHTMLBodyElementALink(
   234  		this.ref,
   235  		val.Ref(),
   236  	)
   237  }
   238  
   239  // BgColor returns the value of property "HTMLBodyElement.bgColor".
   240  //
   241  // It returns ok=false if there is no such property.
   242  func (this HTMLBodyElement) BgColor() (ret js.String, ok bool) {
   243  	ok = js.True == bindings.GetHTMLBodyElementBgColor(
   244  		this.ref, js.Pointer(&ret),
   245  	)
   246  	return
   247  }
   248  
   249  // SetBgColor sets the value of property "HTMLBodyElement.bgColor" to val.
   250  //
   251  // It returns false if the property cannot be set.
   252  func (this HTMLBodyElement) SetBgColor(val js.String) bool {
   253  	return js.True == bindings.SetHTMLBodyElementBgColor(
   254  		this.ref,
   255  		val.Ref(),
   256  	)
   257  }
   258  
   259  // Background returns the value of property "HTMLBodyElement.background".
   260  //
   261  // It returns ok=false if there is no such property.
   262  func (this HTMLBodyElement) Background() (ret js.String, ok bool) {
   263  	ok = js.True == bindings.GetHTMLBodyElementBackground(
   264  		this.ref, js.Pointer(&ret),
   265  	)
   266  	return
   267  }
   268  
   269  // SetBackground sets the value of property "HTMLBodyElement.background" to val.
   270  //
   271  // It returns false if the property cannot be set.
   272  func (this HTMLBodyElement) SetBackground(val js.String) bool {
   273  	return js.True == bindings.SetHTMLBodyElementBackground(
   274  		this.ref,
   275  		val.Ref(),
   276  	)
   277  }
   278  
   279  type HTMLButtonElement struct {
   280  	HTMLElement
   281  }
   282  
   283  func (this HTMLButtonElement) Once() HTMLButtonElement {
   284  	this.ref.Once()
   285  	return this
   286  }
   287  
   288  func (this HTMLButtonElement) Ref() js.Ref {
   289  	return this.HTMLElement.Ref()
   290  }
   291  
   292  func (this HTMLButtonElement) FromRef(ref js.Ref) HTMLButtonElement {
   293  	this.HTMLElement = this.HTMLElement.FromRef(ref)
   294  	return this
   295  }
   296  
   297  func (this HTMLButtonElement) Free() {
   298  	this.ref.Free()
   299  }
   300  
   301  // Disabled returns the value of property "HTMLButtonElement.disabled".
   302  //
   303  // It returns ok=false if there is no such property.
   304  func (this HTMLButtonElement) Disabled() (ret bool, ok bool) {
   305  	ok = js.True == bindings.GetHTMLButtonElementDisabled(
   306  		this.ref, js.Pointer(&ret),
   307  	)
   308  	return
   309  }
   310  
   311  // SetDisabled sets the value of property "HTMLButtonElement.disabled" to val.
   312  //
   313  // It returns false if the property cannot be set.
   314  func (this HTMLButtonElement) SetDisabled(val bool) bool {
   315  	return js.True == bindings.SetHTMLButtonElementDisabled(
   316  		this.ref,
   317  		js.Bool(bool(val)),
   318  	)
   319  }
   320  
   321  // Form returns the value of property "HTMLButtonElement.form".
   322  //
   323  // It returns ok=false if there is no such property.
   324  func (this HTMLButtonElement) Form() (ret HTMLFormElement, ok bool) {
   325  	ok = js.True == bindings.GetHTMLButtonElementForm(
   326  		this.ref, js.Pointer(&ret),
   327  	)
   328  	return
   329  }
   330  
   331  // FormAction returns the value of property "HTMLButtonElement.formAction".
   332  //
   333  // It returns ok=false if there is no such property.
   334  func (this HTMLButtonElement) FormAction() (ret js.String, ok bool) {
   335  	ok = js.True == bindings.GetHTMLButtonElementFormAction(
   336  		this.ref, js.Pointer(&ret),
   337  	)
   338  	return
   339  }
   340  
   341  // SetFormAction sets the value of property "HTMLButtonElement.formAction" to val.
   342  //
   343  // It returns false if the property cannot be set.
   344  func (this HTMLButtonElement) SetFormAction(val js.String) bool {
   345  	return js.True == bindings.SetHTMLButtonElementFormAction(
   346  		this.ref,
   347  		val.Ref(),
   348  	)
   349  }
   350  
   351  // FormEnctype returns the value of property "HTMLButtonElement.formEnctype".
   352  //
   353  // It returns ok=false if there is no such property.
   354  func (this HTMLButtonElement) FormEnctype() (ret js.String, ok bool) {
   355  	ok = js.True == bindings.GetHTMLButtonElementFormEnctype(
   356  		this.ref, js.Pointer(&ret),
   357  	)
   358  	return
   359  }
   360  
   361  // SetFormEnctype sets the value of property "HTMLButtonElement.formEnctype" to val.
   362  //
   363  // It returns false if the property cannot be set.
   364  func (this HTMLButtonElement) SetFormEnctype(val js.String) bool {
   365  	return js.True == bindings.SetHTMLButtonElementFormEnctype(
   366  		this.ref,
   367  		val.Ref(),
   368  	)
   369  }
   370  
   371  // FormMethod returns the value of property "HTMLButtonElement.formMethod".
   372  //
   373  // It returns ok=false if there is no such property.
   374  func (this HTMLButtonElement) FormMethod() (ret js.String, ok bool) {
   375  	ok = js.True == bindings.GetHTMLButtonElementFormMethod(
   376  		this.ref, js.Pointer(&ret),
   377  	)
   378  	return
   379  }
   380  
   381  // SetFormMethod sets the value of property "HTMLButtonElement.formMethod" to val.
   382  //
   383  // It returns false if the property cannot be set.
   384  func (this HTMLButtonElement) SetFormMethod(val js.String) bool {
   385  	return js.True == bindings.SetHTMLButtonElementFormMethod(
   386  		this.ref,
   387  		val.Ref(),
   388  	)
   389  }
   390  
   391  // FormNoValidate returns the value of property "HTMLButtonElement.formNoValidate".
   392  //
   393  // It returns ok=false if there is no such property.
   394  func (this HTMLButtonElement) FormNoValidate() (ret bool, ok bool) {
   395  	ok = js.True == bindings.GetHTMLButtonElementFormNoValidate(
   396  		this.ref, js.Pointer(&ret),
   397  	)
   398  	return
   399  }
   400  
   401  // SetFormNoValidate sets the value of property "HTMLButtonElement.formNoValidate" to val.
   402  //
   403  // It returns false if the property cannot be set.
   404  func (this HTMLButtonElement) SetFormNoValidate(val bool) bool {
   405  	return js.True == bindings.SetHTMLButtonElementFormNoValidate(
   406  		this.ref,
   407  		js.Bool(bool(val)),
   408  	)
   409  }
   410  
   411  // FormTarget returns the value of property "HTMLButtonElement.formTarget".
   412  //
   413  // It returns ok=false if there is no such property.
   414  func (this HTMLButtonElement) FormTarget() (ret js.String, ok bool) {
   415  	ok = js.True == bindings.GetHTMLButtonElementFormTarget(
   416  		this.ref, js.Pointer(&ret),
   417  	)
   418  	return
   419  }
   420  
   421  // SetFormTarget sets the value of property "HTMLButtonElement.formTarget" to val.
   422  //
   423  // It returns false if the property cannot be set.
   424  func (this HTMLButtonElement) SetFormTarget(val js.String) bool {
   425  	return js.True == bindings.SetHTMLButtonElementFormTarget(
   426  		this.ref,
   427  		val.Ref(),
   428  	)
   429  }
   430  
   431  // Name returns the value of property "HTMLButtonElement.name".
   432  //
   433  // It returns ok=false if there is no such property.
   434  func (this HTMLButtonElement) Name() (ret js.String, ok bool) {
   435  	ok = js.True == bindings.GetHTMLButtonElementName(
   436  		this.ref, js.Pointer(&ret),
   437  	)
   438  	return
   439  }
   440  
   441  // SetName sets the value of property "HTMLButtonElement.name" to val.
   442  //
   443  // It returns false if the property cannot be set.
   444  func (this HTMLButtonElement) SetName(val js.String) bool {
   445  	return js.True == bindings.SetHTMLButtonElementName(
   446  		this.ref,
   447  		val.Ref(),
   448  	)
   449  }
   450  
   451  // Type returns the value of property "HTMLButtonElement.type".
   452  //
   453  // It returns ok=false if there is no such property.
   454  func (this HTMLButtonElement) Type() (ret js.String, ok bool) {
   455  	ok = js.True == bindings.GetHTMLButtonElementType(
   456  		this.ref, js.Pointer(&ret),
   457  	)
   458  	return
   459  }
   460  
   461  // SetType sets the value of property "HTMLButtonElement.type" to val.
   462  //
   463  // It returns false if the property cannot be set.
   464  func (this HTMLButtonElement) SetType(val js.String) bool {
   465  	return js.True == bindings.SetHTMLButtonElementType(
   466  		this.ref,
   467  		val.Ref(),
   468  	)
   469  }
   470  
   471  // Value returns the value of property "HTMLButtonElement.value".
   472  //
   473  // It returns ok=false if there is no such property.
   474  func (this HTMLButtonElement) Value() (ret js.String, ok bool) {
   475  	ok = js.True == bindings.GetHTMLButtonElementValue(
   476  		this.ref, js.Pointer(&ret),
   477  	)
   478  	return
   479  }
   480  
   481  // SetValue sets the value of property "HTMLButtonElement.value" to val.
   482  //
   483  // It returns false if the property cannot be set.
   484  func (this HTMLButtonElement) SetValue(val js.String) bool {
   485  	return js.True == bindings.SetHTMLButtonElementValue(
   486  		this.ref,
   487  		val.Ref(),
   488  	)
   489  }
   490  
   491  // WillValidate returns the value of property "HTMLButtonElement.willValidate".
   492  //
   493  // It returns ok=false if there is no such property.
   494  func (this HTMLButtonElement) WillValidate() (ret bool, ok bool) {
   495  	ok = js.True == bindings.GetHTMLButtonElementWillValidate(
   496  		this.ref, js.Pointer(&ret),
   497  	)
   498  	return
   499  }
   500  
   501  // Validity returns the value of property "HTMLButtonElement.validity".
   502  //
   503  // It returns ok=false if there is no such property.
   504  func (this HTMLButtonElement) Validity() (ret ValidityState, ok bool) {
   505  	ok = js.True == bindings.GetHTMLButtonElementValidity(
   506  		this.ref, js.Pointer(&ret),
   507  	)
   508  	return
   509  }
   510  
   511  // ValidationMessage returns the value of property "HTMLButtonElement.validationMessage".
   512  //
   513  // It returns ok=false if there is no such property.
   514  func (this HTMLButtonElement) ValidationMessage() (ret js.String, ok bool) {
   515  	ok = js.True == bindings.GetHTMLButtonElementValidationMessage(
   516  		this.ref, js.Pointer(&ret),
   517  	)
   518  	return
   519  }
   520  
   521  // Labels returns the value of property "HTMLButtonElement.labels".
   522  //
   523  // It returns ok=false if there is no such property.
   524  func (this HTMLButtonElement) Labels() (ret NodeList, ok bool) {
   525  	ok = js.True == bindings.GetHTMLButtonElementLabels(
   526  		this.ref, js.Pointer(&ret),
   527  	)
   528  	return
   529  }
   530  
   531  // PopoverTargetElement returns the value of property "HTMLButtonElement.popoverTargetElement".
   532  //
   533  // It returns ok=false if there is no such property.
   534  func (this HTMLButtonElement) PopoverTargetElement() (ret Element, ok bool) {
   535  	ok = js.True == bindings.GetHTMLButtonElementPopoverTargetElement(
   536  		this.ref, js.Pointer(&ret),
   537  	)
   538  	return
   539  }
   540  
   541  // SetPopoverTargetElement sets the value of property "HTMLButtonElement.popoverTargetElement" to val.
   542  //
   543  // It returns false if the property cannot be set.
   544  func (this HTMLButtonElement) SetPopoverTargetElement(val Element) bool {
   545  	return js.True == bindings.SetHTMLButtonElementPopoverTargetElement(
   546  		this.ref,
   547  		val.Ref(),
   548  	)
   549  }
   550  
   551  // PopoverTargetAction returns the value of property "HTMLButtonElement.popoverTargetAction".
   552  //
   553  // It returns ok=false if there is no such property.
   554  func (this HTMLButtonElement) PopoverTargetAction() (ret js.String, ok bool) {
   555  	ok = js.True == bindings.GetHTMLButtonElementPopoverTargetAction(
   556  		this.ref, js.Pointer(&ret),
   557  	)
   558  	return
   559  }
   560  
   561  // SetPopoverTargetAction sets the value of property "HTMLButtonElement.popoverTargetAction" to val.
   562  //
   563  // It returns false if the property cannot be set.
   564  func (this HTMLButtonElement) SetPopoverTargetAction(val js.String) bool {
   565  	return js.True == bindings.SetHTMLButtonElementPopoverTargetAction(
   566  		this.ref,
   567  		val.Ref(),
   568  	)
   569  }
   570  
   571  // HasFuncCheckValidity returns true if the method "HTMLButtonElement.checkValidity" exists.
   572  func (this HTMLButtonElement) HasFuncCheckValidity() bool {
   573  	return js.True == bindings.HasFuncHTMLButtonElementCheckValidity(
   574  		this.ref,
   575  	)
   576  }
   577  
   578  // FuncCheckValidity returns the method "HTMLButtonElement.checkValidity".
   579  func (this HTMLButtonElement) FuncCheckValidity() (fn js.Func[func() bool]) {
   580  	bindings.FuncHTMLButtonElementCheckValidity(
   581  		this.ref, js.Pointer(&fn),
   582  	)
   583  	return
   584  }
   585  
   586  // CheckValidity calls the method "HTMLButtonElement.checkValidity".
   587  func (this HTMLButtonElement) CheckValidity() (ret bool) {
   588  	bindings.CallHTMLButtonElementCheckValidity(
   589  		this.ref, js.Pointer(&ret),
   590  	)
   591  
   592  	return
   593  }
   594  
   595  // TryCheckValidity calls the method "HTMLButtonElement.checkValidity"
   596  // in a try/catch block and returns (_, err, ok = false) when it went through
   597  // the catch clause.
   598  func (this HTMLButtonElement) TryCheckValidity() (ret bool, exception js.Any, ok bool) {
   599  	ok = js.True == bindings.TryHTMLButtonElementCheckValidity(
   600  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   601  	)
   602  
   603  	return
   604  }
   605  
   606  // HasFuncReportValidity returns true if the method "HTMLButtonElement.reportValidity" exists.
   607  func (this HTMLButtonElement) HasFuncReportValidity() bool {
   608  	return js.True == bindings.HasFuncHTMLButtonElementReportValidity(
   609  		this.ref,
   610  	)
   611  }
   612  
   613  // FuncReportValidity returns the method "HTMLButtonElement.reportValidity".
   614  func (this HTMLButtonElement) FuncReportValidity() (fn js.Func[func() bool]) {
   615  	bindings.FuncHTMLButtonElementReportValidity(
   616  		this.ref, js.Pointer(&fn),
   617  	)
   618  	return
   619  }
   620  
   621  // ReportValidity calls the method "HTMLButtonElement.reportValidity".
   622  func (this HTMLButtonElement) ReportValidity() (ret bool) {
   623  	bindings.CallHTMLButtonElementReportValidity(
   624  		this.ref, js.Pointer(&ret),
   625  	)
   626  
   627  	return
   628  }
   629  
   630  // TryReportValidity calls the method "HTMLButtonElement.reportValidity"
   631  // in a try/catch block and returns (_, err, ok = false) when it went through
   632  // the catch clause.
   633  func (this HTMLButtonElement) TryReportValidity() (ret bool, exception js.Any, ok bool) {
   634  	ok = js.True == bindings.TryHTMLButtonElementReportValidity(
   635  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   636  	)
   637  
   638  	return
   639  }
   640  
   641  // HasFuncSetCustomValidity returns true if the method "HTMLButtonElement.setCustomValidity" exists.
   642  func (this HTMLButtonElement) HasFuncSetCustomValidity() bool {
   643  	return js.True == bindings.HasFuncHTMLButtonElementSetCustomValidity(
   644  		this.ref,
   645  	)
   646  }
   647  
   648  // FuncSetCustomValidity returns the method "HTMLButtonElement.setCustomValidity".
   649  func (this HTMLButtonElement) FuncSetCustomValidity() (fn js.Func[func(err js.String)]) {
   650  	bindings.FuncHTMLButtonElementSetCustomValidity(
   651  		this.ref, js.Pointer(&fn),
   652  	)
   653  	return
   654  }
   655  
   656  // SetCustomValidity calls the method "HTMLButtonElement.setCustomValidity".
   657  func (this HTMLButtonElement) SetCustomValidity(err js.String) (ret js.Void) {
   658  	bindings.CallHTMLButtonElementSetCustomValidity(
   659  		this.ref, js.Pointer(&ret),
   660  		err.Ref(),
   661  	)
   662  
   663  	return
   664  }
   665  
   666  // TrySetCustomValidity calls the method "HTMLButtonElement.setCustomValidity"
   667  // in a try/catch block and returns (_, err, ok = false) when it went through
   668  // the catch clause.
   669  func (this HTMLButtonElement) TrySetCustomValidity(err js.String) (ret js.Void, exception js.Any, ok bool) {
   670  	ok = js.True == bindings.TryHTMLButtonElementSetCustomValidity(
   671  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   672  		err.Ref(),
   673  	)
   674  
   675  	return
   676  }
   677  
   678  type HTMLDListElement struct {
   679  	HTMLElement
   680  }
   681  
   682  func (this HTMLDListElement) Once() HTMLDListElement {
   683  	this.ref.Once()
   684  	return this
   685  }
   686  
   687  func (this HTMLDListElement) Ref() js.Ref {
   688  	return this.HTMLElement.Ref()
   689  }
   690  
   691  func (this HTMLDListElement) FromRef(ref js.Ref) HTMLDListElement {
   692  	this.HTMLElement = this.HTMLElement.FromRef(ref)
   693  	return this
   694  }
   695  
   696  func (this HTMLDListElement) Free() {
   697  	this.ref.Free()
   698  }
   699  
   700  // Compact returns the value of property "HTMLDListElement.compact".
   701  //
   702  // It returns ok=false if there is no such property.
   703  func (this HTMLDListElement) Compact() (ret bool, ok bool) {
   704  	ok = js.True == bindings.GetHTMLDListElementCompact(
   705  		this.ref, js.Pointer(&ret),
   706  	)
   707  	return
   708  }
   709  
   710  // SetCompact sets the value of property "HTMLDListElement.compact" to val.
   711  //
   712  // It returns false if the property cannot be set.
   713  func (this HTMLDListElement) SetCompact(val bool) bool {
   714  	return js.True == bindings.SetHTMLDListElementCompact(
   715  		this.ref,
   716  		js.Bool(bool(val)),
   717  	)
   718  }
   719  
   720  type HTMLDataElement struct {
   721  	HTMLElement
   722  }
   723  
   724  func (this HTMLDataElement) Once() HTMLDataElement {
   725  	this.ref.Once()
   726  	return this
   727  }
   728  
   729  func (this HTMLDataElement) Ref() js.Ref {
   730  	return this.HTMLElement.Ref()
   731  }
   732  
   733  func (this HTMLDataElement) FromRef(ref js.Ref) HTMLDataElement {
   734  	this.HTMLElement = this.HTMLElement.FromRef(ref)
   735  	return this
   736  }
   737  
   738  func (this HTMLDataElement) Free() {
   739  	this.ref.Free()
   740  }
   741  
   742  // Value returns the value of property "HTMLDataElement.value".
   743  //
   744  // It returns ok=false if there is no such property.
   745  func (this HTMLDataElement) Value() (ret js.String, ok bool) {
   746  	ok = js.True == bindings.GetHTMLDataElementValue(
   747  		this.ref, js.Pointer(&ret),
   748  	)
   749  	return
   750  }
   751  
   752  // SetValue sets the value of property "HTMLDataElement.value" to val.
   753  //
   754  // It returns false if the property cannot be set.
   755  func (this HTMLDataElement) SetValue(val js.String) bool {
   756  	return js.True == bindings.SetHTMLDataElementValue(
   757  		this.ref,
   758  		val.Ref(),
   759  	)
   760  }
   761  
   762  type HTMLDataListElement struct {
   763  	HTMLElement
   764  }
   765  
   766  func (this HTMLDataListElement) Once() HTMLDataListElement {
   767  	this.ref.Once()
   768  	return this
   769  }
   770  
   771  func (this HTMLDataListElement) Ref() js.Ref {
   772  	return this.HTMLElement.Ref()
   773  }
   774  
   775  func (this HTMLDataListElement) FromRef(ref js.Ref) HTMLDataListElement {
   776  	this.HTMLElement = this.HTMLElement.FromRef(ref)
   777  	return this
   778  }
   779  
   780  func (this HTMLDataListElement) Free() {
   781  	this.ref.Free()
   782  }
   783  
   784  // Options returns the value of property "HTMLDataListElement.options".
   785  //
   786  // It returns ok=false if there is no such property.
   787  func (this HTMLDataListElement) Options() (ret HTMLCollection, ok bool) {
   788  	ok = js.True == bindings.GetHTMLDataListElementOptions(
   789  		this.ref, js.Pointer(&ret),
   790  	)
   791  	return
   792  }
   793  
   794  type HTMLDetailsElement struct {
   795  	HTMLElement
   796  }
   797  
   798  func (this HTMLDetailsElement) Once() HTMLDetailsElement {
   799  	this.ref.Once()
   800  	return this
   801  }
   802  
   803  func (this HTMLDetailsElement) Ref() js.Ref {
   804  	return this.HTMLElement.Ref()
   805  }
   806  
   807  func (this HTMLDetailsElement) FromRef(ref js.Ref) HTMLDetailsElement {
   808  	this.HTMLElement = this.HTMLElement.FromRef(ref)
   809  	return this
   810  }
   811  
   812  func (this HTMLDetailsElement) Free() {
   813  	this.ref.Free()
   814  }
   815  
   816  // Open returns the value of property "HTMLDetailsElement.open".
   817  //
   818  // It returns ok=false if there is no such property.
   819  func (this HTMLDetailsElement) Open() (ret bool, ok bool) {
   820  	ok = js.True == bindings.GetHTMLDetailsElementOpen(
   821  		this.ref, js.Pointer(&ret),
   822  	)
   823  	return
   824  }
   825  
   826  // SetOpen sets the value of property "HTMLDetailsElement.open" to val.
   827  //
   828  // It returns false if the property cannot be set.
   829  func (this HTMLDetailsElement) SetOpen(val bool) bool {
   830  	return js.True == bindings.SetHTMLDetailsElementOpen(
   831  		this.ref,
   832  		js.Bool(bool(val)),
   833  	)
   834  }
   835  
   836  type HTMLDialogElement struct {
   837  	HTMLElement
   838  }
   839  
   840  func (this HTMLDialogElement) Once() HTMLDialogElement {
   841  	this.ref.Once()
   842  	return this
   843  }
   844  
   845  func (this HTMLDialogElement) Ref() js.Ref {
   846  	return this.HTMLElement.Ref()
   847  }
   848  
   849  func (this HTMLDialogElement) FromRef(ref js.Ref) HTMLDialogElement {
   850  	this.HTMLElement = this.HTMLElement.FromRef(ref)
   851  	return this
   852  }
   853  
   854  func (this HTMLDialogElement) Free() {
   855  	this.ref.Free()
   856  }
   857  
   858  // Open returns the value of property "HTMLDialogElement.open".
   859  //
   860  // It returns ok=false if there is no such property.
   861  func (this HTMLDialogElement) Open() (ret bool, ok bool) {
   862  	ok = js.True == bindings.GetHTMLDialogElementOpen(
   863  		this.ref, js.Pointer(&ret),
   864  	)
   865  	return
   866  }
   867  
   868  // SetOpen sets the value of property "HTMLDialogElement.open" to val.
   869  //
   870  // It returns false if the property cannot be set.
   871  func (this HTMLDialogElement) SetOpen(val bool) bool {
   872  	return js.True == bindings.SetHTMLDialogElementOpen(
   873  		this.ref,
   874  		js.Bool(bool(val)),
   875  	)
   876  }
   877  
   878  // ReturnValue returns the value of property "HTMLDialogElement.returnValue".
   879  //
   880  // It returns ok=false if there is no such property.
   881  func (this HTMLDialogElement) ReturnValue() (ret js.String, ok bool) {
   882  	ok = js.True == bindings.GetHTMLDialogElementReturnValue(
   883  		this.ref, js.Pointer(&ret),
   884  	)
   885  	return
   886  }
   887  
   888  // SetReturnValue sets the value of property "HTMLDialogElement.returnValue" to val.
   889  //
   890  // It returns false if the property cannot be set.
   891  func (this HTMLDialogElement) SetReturnValue(val js.String) bool {
   892  	return js.True == bindings.SetHTMLDialogElementReturnValue(
   893  		this.ref,
   894  		val.Ref(),
   895  	)
   896  }
   897  
   898  // HasFuncShow returns true if the method "HTMLDialogElement.show" exists.
   899  func (this HTMLDialogElement) HasFuncShow() bool {
   900  	return js.True == bindings.HasFuncHTMLDialogElementShow(
   901  		this.ref,
   902  	)
   903  }
   904  
   905  // FuncShow returns the method "HTMLDialogElement.show".
   906  func (this HTMLDialogElement) FuncShow() (fn js.Func[func()]) {
   907  	bindings.FuncHTMLDialogElementShow(
   908  		this.ref, js.Pointer(&fn),
   909  	)
   910  	return
   911  }
   912  
   913  // Show calls the method "HTMLDialogElement.show".
   914  func (this HTMLDialogElement) Show() (ret js.Void) {
   915  	bindings.CallHTMLDialogElementShow(
   916  		this.ref, js.Pointer(&ret),
   917  	)
   918  
   919  	return
   920  }
   921  
   922  // TryShow calls the method "HTMLDialogElement.show"
   923  // in a try/catch block and returns (_, err, ok = false) when it went through
   924  // the catch clause.
   925  func (this HTMLDialogElement) TryShow() (ret js.Void, exception js.Any, ok bool) {
   926  	ok = js.True == bindings.TryHTMLDialogElementShow(
   927  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   928  	)
   929  
   930  	return
   931  }
   932  
   933  // HasFuncShowModal returns true if the method "HTMLDialogElement.showModal" exists.
   934  func (this HTMLDialogElement) HasFuncShowModal() bool {
   935  	return js.True == bindings.HasFuncHTMLDialogElementShowModal(
   936  		this.ref,
   937  	)
   938  }
   939  
   940  // FuncShowModal returns the method "HTMLDialogElement.showModal".
   941  func (this HTMLDialogElement) FuncShowModal() (fn js.Func[func()]) {
   942  	bindings.FuncHTMLDialogElementShowModal(
   943  		this.ref, js.Pointer(&fn),
   944  	)
   945  	return
   946  }
   947  
   948  // ShowModal calls the method "HTMLDialogElement.showModal".
   949  func (this HTMLDialogElement) ShowModal() (ret js.Void) {
   950  	bindings.CallHTMLDialogElementShowModal(
   951  		this.ref, js.Pointer(&ret),
   952  	)
   953  
   954  	return
   955  }
   956  
   957  // TryShowModal calls the method "HTMLDialogElement.showModal"
   958  // in a try/catch block and returns (_, err, ok = false) when it went through
   959  // the catch clause.
   960  func (this HTMLDialogElement) TryShowModal() (ret js.Void, exception js.Any, ok bool) {
   961  	ok = js.True == bindings.TryHTMLDialogElementShowModal(
   962  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   963  	)
   964  
   965  	return
   966  }
   967  
   968  // HasFuncClose returns true if the method "HTMLDialogElement.close" exists.
   969  func (this HTMLDialogElement) HasFuncClose() bool {
   970  	return js.True == bindings.HasFuncHTMLDialogElementClose(
   971  		this.ref,
   972  	)
   973  }
   974  
   975  // FuncClose returns the method "HTMLDialogElement.close".
   976  func (this HTMLDialogElement) FuncClose() (fn js.Func[func(returnValue js.String)]) {
   977  	bindings.FuncHTMLDialogElementClose(
   978  		this.ref, js.Pointer(&fn),
   979  	)
   980  	return
   981  }
   982  
   983  // Close calls the method "HTMLDialogElement.close".
   984  func (this HTMLDialogElement) Close(returnValue js.String) (ret js.Void) {
   985  	bindings.CallHTMLDialogElementClose(
   986  		this.ref, js.Pointer(&ret),
   987  		returnValue.Ref(),
   988  	)
   989  
   990  	return
   991  }
   992  
   993  // TryClose calls the method "HTMLDialogElement.close"
   994  // in a try/catch block and returns (_, err, ok = false) when it went through
   995  // the catch clause.
   996  func (this HTMLDialogElement) TryClose(returnValue js.String) (ret js.Void, exception js.Any, ok bool) {
   997  	ok = js.True == bindings.TryHTMLDialogElementClose(
   998  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   999  		returnValue.Ref(),
  1000  	)
  1001  
  1002  	return
  1003  }
  1004  
  1005  // HasFuncClose1 returns true if the method "HTMLDialogElement.close" exists.
  1006  func (this HTMLDialogElement) HasFuncClose1() bool {
  1007  	return js.True == bindings.HasFuncHTMLDialogElementClose1(
  1008  		this.ref,
  1009  	)
  1010  }
  1011  
  1012  // FuncClose1 returns the method "HTMLDialogElement.close".
  1013  func (this HTMLDialogElement) FuncClose1() (fn js.Func[func()]) {
  1014  	bindings.FuncHTMLDialogElementClose1(
  1015  		this.ref, js.Pointer(&fn),
  1016  	)
  1017  	return
  1018  }
  1019  
  1020  // Close1 calls the method "HTMLDialogElement.close".
  1021  func (this HTMLDialogElement) Close1() (ret js.Void) {
  1022  	bindings.CallHTMLDialogElementClose1(
  1023  		this.ref, js.Pointer(&ret),
  1024  	)
  1025  
  1026  	return
  1027  }
  1028  
  1029  // TryClose1 calls the method "HTMLDialogElement.close"
  1030  // in a try/catch block and returns (_, err, ok = false) when it went through
  1031  // the catch clause.
  1032  func (this HTMLDialogElement) TryClose1() (ret js.Void, exception js.Any, ok bool) {
  1033  	ok = js.True == bindings.TryHTMLDialogElementClose1(
  1034  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1035  	)
  1036  
  1037  	return
  1038  }
  1039  
  1040  type HTMLDirectoryElement struct {
  1041  	HTMLElement
  1042  }
  1043  
  1044  func (this HTMLDirectoryElement) Once() HTMLDirectoryElement {
  1045  	this.ref.Once()
  1046  	return this
  1047  }
  1048  
  1049  func (this HTMLDirectoryElement) Ref() js.Ref {
  1050  	return this.HTMLElement.Ref()
  1051  }
  1052  
  1053  func (this HTMLDirectoryElement) FromRef(ref js.Ref) HTMLDirectoryElement {
  1054  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1055  	return this
  1056  }
  1057  
  1058  func (this HTMLDirectoryElement) Free() {
  1059  	this.ref.Free()
  1060  }
  1061  
  1062  // Compact returns the value of property "HTMLDirectoryElement.compact".
  1063  //
  1064  // It returns ok=false if there is no such property.
  1065  func (this HTMLDirectoryElement) Compact() (ret bool, ok bool) {
  1066  	ok = js.True == bindings.GetHTMLDirectoryElementCompact(
  1067  		this.ref, js.Pointer(&ret),
  1068  	)
  1069  	return
  1070  }
  1071  
  1072  // SetCompact sets the value of property "HTMLDirectoryElement.compact" to val.
  1073  //
  1074  // It returns false if the property cannot be set.
  1075  func (this HTMLDirectoryElement) SetCompact(val bool) bool {
  1076  	return js.True == bindings.SetHTMLDirectoryElementCompact(
  1077  		this.ref,
  1078  		js.Bool(bool(val)),
  1079  	)
  1080  }
  1081  
  1082  type HTMLDivElement struct {
  1083  	HTMLElement
  1084  }
  1085  
  1086  func (this HTMLDivElement) Once() HTMLDivElement {
  1087  	this.ref.Once()
  1088  	return this
  1089  }
  1090  
  1091  func (this HTMLDivElement) Ref() js.Ref {
  1092  	return this.HTMLElement.Ref()
  1093  }
  1094  
  1095  func (this HTMLDivElement) FromRef(ref js.Ref) HTMLDivElement {
  1096  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1097  	return this
  1098  }
  1099  
  1100  func (this HTMLDivElement) Free() {
  1101  	this.ref.Free()
  1102  }
  1103  
  1104  // Align returns the value of property "HTMLDivElement.align".
  1105  //
  1106  // It returns ok=false if there is no such property.
  1107  func (this HTMLDivElement) Align() (ret js.String, ok bool) {
  1108  	ok = js.True == bindings.GetHTMLDivElementAlign(
  1109  		this.ref, js.Pointer(&ret),
  1110  	)
  1111  	return
  1112  }
  1113  
  1114  // SetAlign sets the value of property "HTMLDivElement.align" to val.
  1115  //
  1116  // It returns false if the property cannot be set.
  1117  func (this HTMLDivElement) SetAlign(val js.String) bool {
  1118  	return js.True == bindings.SetHTMLDivElementAlign(
  1119  		this.ref,
  1120  		val.Ref(),
  1121  	)
  1122  }
  1123  
  1124  type HTMLEmbedElement struct {
  1125  	HTMLElement
  1126  }
  1127  
  1128  func (this HTMLEmbedElement) Once() HTMLEmbedElement {
  1129  	this.ref.Once()
  1130  	return this
  1131  }
  1132  
  1133  func (this HTMLEmbedElement) Ref() js.Ref {
  1134  	return this.HTMLElement.Ref()
  1135  }
  1136  
  1137  func (this HTMLEmbedElement) FromRef(ref js.Ref) HTMLEmbedElement {
  1138  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1139  	return this
  1140  }
  1141  
  1142  func (this HTMLEmbedElement) Free() {
  1143  	this.ref.Free()
  1144  }
  1145  
  1146  // Src returns the value of property "HTMLEmbedElement.src".
  1147  //
  1148  // It returns ok=false if there is no such property.
  1149  func (this HTMLEmbedElement) Src() (ret js.String, ok bool) {
  1150  	ok = js.True == bindings.GetHTMLEmbedElementSrc(
  1151  		this.ref, js.Pointer(&ret),
  1152  	)
  1153  	return
  1154  }
  1155  
  1156  // SetSrc sets the value of property "HTMLEmbedElement.src" to val.
  1157  //
  1158  // It returns false if the property cannot be set.
  1159  func (this HTMLEmbedElement) SetSrc(val js.String) bool {
  1160  	return js.True == bindings.SetHTMLEmbedElementSrc(
  1161  		this.ref,
  1162  		val.Ref(),
  1163  	)
  1164  }
  1165  
  1166  // Type returns the value of property "HTMLEmbedElement.type".
  1167  //
  1168  // It returns ok=false if there is no such property.
  1169  func (this HTMLEmbedElement) Type() (ret js.String, ok bool) {
  1170  	ok = js.True == bindings.GetHTMLEmbedElementType(
  1171  		this.ref, js.Pointer(&ret),
  1172  	)
  1173  	return
  1174  }
  1175  
  1176  // SetType sets the value of property "HTMLEmbedElement.type" to val.
  1177  //
  1178  // It returns false if the property cannot be set.
  1179  func (this HTMLEmbedElement) SetType(val js.String) bool {
  1180  	return js.True == bindings.SetHTMLEmbedElementType(
  1181  		this.ref,
  1182  		val.Ref(),
  1183  	)
  1184  }
  1185  
  1186  // Width returns the value of property "HTMLEmbedElement.width".
  1187  //
  1188  // It returns ok=false if there is no such property.
  1189  func (this HTMLEmbedElement) Width() (ret js.String, ok bool) {
  1190  	ok = js.True == bindings.GetHTMLEmbedElementWidth(
  1191  		this.ref, js.Pointer(&ret),
  1192  	)
  1193  	return
  1194  }
  1195  
  1196  // SetWidth sets the value of property "HTMLEmbedElement.width" to val.
  1197  //
  1198  // It returns false if the property cannot be set.
  1199  func (this HTMLEmbedElement) SetWidth(val js.String) bool {
  1200  	return js.True == bindings.SetHTMLEmbedElementWidth(
  1201  		this.ref,
  1202  		val.Ref(),
  1203  	)
  1204  }
  1205  
  1206  // Height returns the value of property "HTMLEmbedElement.height".
  1207  //
  1208  // It returns ok=false if there is no such property.
  1209  func (this HTMLEmbedElement) Height() (ret js.String, ok bool) {
  1210  	ok = js.True == bindings.GetHTMLEmbedElementHeight(
  1211  		this.ref, js.Pointer(&ret),
  1212  	)
  1213  	return
  1214  }
  1215  
  1216  // SetHeight sets the value of property "HTMLEmbedElement.height" to val.
  1217  //
  1218  // It returns false if the property cannot be set.
  1219  func (this HTMLEmbedElement) SetHeight(val js.String) bool {
  1220  	return js.True == bindings.SetHTMLEmbedElementHeight(
  1221  		this.ref,
  1222  		val.Ref(),
  1223  	)
  1224  }
  1225  
  1226  // Align returns the value of property "HTMLEmbedElement.align".
  1227  //
  1228  // It returns ok=false if there is no such property.
  1229  func (this HTMLEmbedElement) Align() (ret js.String, ok bool) {
  1230  	ok = js.True == bindings.GetHTMLEmbedElementAlign(
  1231  		this.ref, js.Pointer(&ret),
  1232  	)
  1233  	return
  1234  }
  1235  
  1236  // SetAlign sets the value of property "HTMLEmbedElement.align" to val.
  1237  //
  1238  // It returns false if the property cannot be set.
  1239  func (this HTMLEmbedElement) SetAlign(val js.String) bool {
  1240  	return js.True == bindings.SetHTMLEmbedElementAlign(
  1241  		this.ref,
  1242  		val.Ref(),
  1243  	)
  1244  }
  1245  
  1246  // Name returns the value of property "HTMLEmbedElement.name".
  1247  //
  1248  // It returns ok=false if there is no such property.
  1249  func (this HTMLEmbedElement) Name() (ret js.String, ok bool) {
  1250  	ok = js.True == bindings.GetHTMLEmbedElementName(
  1251  		this.ref, js.Pointer(&ret),
  1252  	)
  1253  	return
  1254  }
  1255  
  1256  // SetName sets the value of property "HTMLEmbedElement.name" to val.
  1257  //
  1258  // It returns false if the property cannot be set.
  1259  func (this HTMLEmbedElement) SetName(val js.String) bool {
  1260  	return js.True == bindings.SetHTMLEmbedElementName(
  1261  		this.ref,
  1262  		val.Ref(),
  1263  	)
  1264  }
  1265  
  1266  // HasFuncGetSVGDocument returns true if the method "HTMLEmbedElement.getSVGDocument" exists.
  1267  func (this HTMLEmbedElement) HasFuncGetSVGDocument() bool {
  1268  	return js.True == bindings.HasFuncHTMLEmbedElementGetSVGDocument(
  1269  		this.ref,
  1270  	)
  1271  }
  1272  
  1273  // FuncGetSVGDocument returns the method "HTMLEmbedElement.getSVGDocument".
  1274  func (this HTMLEmbedElement) FuncGetSVGDocument() (fn js.Func[func() Document]) {
  1275  	bindings.FuncHTMLEmbedElementGetSVGDocument(
  1276  		this.ref, js.Pointer(&fn),
  1277  	)
  1278  	return
  1279  }
  1280  
  1281  // GetSVGDocument calls the method "HTMLEmbedElement.getSVGDocument".
  1282  func (this HTMLEmbedElement) GetSVGDocument() (ret Document) {
  1283  	bindings.CallHTMLEmbedElementGetSVGDocument(
  1284  		this.ref, js.Pointer(&ret),
  1285  	)
  1286  
  1287  	return
  1288  }
  1289  
  1290  // TryGetSVGDocument calls the method "HTMLEmbedElement.getSVGDocument"
  1291  // in a try/catch block and returns (_, err, ok = false) when it went through
  1292  // the catch clause.
  1293  func (this HTMLEmbedElement) TryGetSVGDocument() (ret Document, exception js.Any, ok bool) {
  1294  	ok = js.True == bindings.TryHTMLEmbedElementGetSVGDocument(
  1295  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1296  	)
  1297  
  1298  	return
  1299  }
  1300  
  1301  type HTMLFencedFrameElement struct {
  1302  	HTMLElement
  1303  }
  1304  
  1305  func (this HTMLFencedFrameElement) Once() HTMLFencedFrameElement {
  1306  	this.ref.Once()
  1307  	return this
  1308  }
  1309  
  1310  func (this HTMLFencedFrameElement) Ref() js.Ref {
  1311  	return this.HTMLElement.Ref()
  1312  }
  1313  
  1314  func (this HTMLFencedFrameElement) FromRef(ref js.Ref) HTMLFencedFrameElement {
  1315  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1316  	return this
  1317  }
  1318  
  1319  func (this HTMLFencedFrameElement) Free() {
  1320  	this.ref.Free()
  1321  }
  1322  
  1323  // Config returns the value of property "HTMLFencedFrameElement.config".
  1324  //
  1325  // It returns ok=false if there is no such property.
  1326  func (this HTMLFencedFrameElement) Config() (ret FencedFrameConfig, ok bool) {
  1327  	ok = js.True == bindings.GetHTMLFencedFrameElementConfig(
  1328  		this.ref, js.Pointer(&ret),
  1329  	)
  1330  	return
  1331  }
  1332  
  1333  // SetConfig sets the value of property "HTMLFencedFrameElement.config" to val.
  1334  //
  1335  // It returns false if the property cannot be set.
  1336  func (this HTMLFencedFrameElement) SetConfig(val FencedFrameConfig) bool {
  1337  	return js.True == bindings.SetHTMLFencedFrameElementConfig(
  1338  		this.ref,
  1339  		val.Ref(),
  1340  	)
  1341  }
  1342  
  1343  // Width returns the value of property "HTMLFencedFrameElement.width".
  1344  //
  1345  // It returns ok=false if there is no such property.
  1346  func (this HTMLFencedFrameElement) Width() (ret js.String, ok bool) {
  1347  	ok = js.True == bindings.GetHTMLFencedFrameElementWidth(
  1348  		this.ref, js.Pointer(&ret),
  1349  	)
  1350  	return
  1351  }
  1352  
  1353  // SetWidth sets the value of property "HTMLFencedFrameElement.width" to val.
  1354  //
  1355  // It returns false if the property cannot be set.
  1356  func (this HTMLFencedFrameElement) SetWidth(val js.String) bool {
  1357  	return js.True == bindings.SetHTMLFencedFrameElementWidth(
  1358  		this.ref,
  1359  		val.Ref(),
  1360  	)
  1361  }
  1362  
  1363  // Height returns the value of property "HTMLFencedFrameElement.height".
  1364  //
  1365  // It returns ok=false if there is no such property.
  1366  func (this HTMLFencedFrameElement) Height() (ret js.String, ok bool) {
  1367  	ok = js.True == bindings.GetHTMLFencedFrameElementHeight(
  1368  		this.ref, js.Pointer(&ret),
  1369  	)
  1370  	return
  1371  }
  1372  
  1373  // SetHeight sets the value of property "HTMLFencedFrameElement.height" to val.
  1374  //
  1375  // It returns false if the property cannot be set.
  1376  func (this HTMLFencedFrameElement) SetHeight(val js.String) bool {
  1377  	return js.True == bindings.SetHTMLFencedFrameElementHeight(
  1378  		this.ref,
  1379  		val.Ref(),
  1380  	)
  1381  }
  1382  
  1383  // Allow returns the value of property "HTMLFencedFrameElement.allow".
  1384  //
  1385  // It returns ok=false if there is no such property.
  1386  func (this HTMLFencedFrameElement) Allow() (ret js.String, ok bool) {
  1387  	ok = js.True == bindings.GetHTMLFencedFrameElementAllow(
  1388  		this.ref, js.Pointer(&ret),
  1389  	)
  1390  	return
  1391  }
  1392  
  1393  // SetAllow sets the value of property "HTMLFencedFrameElement.allow" to val.
  1394  //
  1395  // It returns false if the property cannot be set.
  1396  func (this HTMLFencedFrameElement) SetAllow(val js.String) bool {
  1397  	return js.True == bindings.SetHTMLFencedFrameElementAllow(
  1398  		this.ref,
  1399  		val.Ref(),
  1400  	)
  1401  }
  1402  
  1403  type HTMLFieldSetElement struct {
  1404  	HTMLElement
  1405  }
  1406  
  1407  func (this HTMLFieldSetElement) Once() HTMLFieldSetElement {
  1408  	this.ref.Once()
  1409  	return this
  1410  }
  1411  
  1412  func (this HTMLFieldSetElement) Ref() js.Ref {
  1413  	return this.HTMLElement.Ref()
  1414  }
  1415  
  1416  func (this HTMLFieldSetElement) FromRef(ref js.Ref) HTMLFieldSetElement {
  1417  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1418  	return this
  1419  }
  1420  
  1421  func (this HTMLFieldSetElement) Free() {
  1422  	this.ref.Free()
  1423  }
  1424  
  1425  // Disabled returns the value of property "HTMLFieldSetElement.disabled".
  1426  //
  1427  // It returns ok=false if there is no such property.
  1428  func (this HTMLFieldSetElement) Disabled() (ret bool, ok bool) {
  1429  	ok = js.True == bindings.GetHTMLFieldSetElementDisabled(
  1430  		this.ref, js.Pointer(&ret),
  1431  	)
  1432  	return
  1433  }
  1434  
  1435  // SetDisabled sets the value of property "HTMLFieldSetElement.disabled" to val.
  1436  //
  1437  // It returns false if the property cannot be set.
  1438  func (this HTMLFieldSetElement) SetDisabled(val bool) bool {
  1439  	return js.True == bindings.SetHTMLFieldSetElementDisabled(
  1440  		this.ref,
  1441  		js.Bool(bool(val)),
  1442  	)
  1443  }
  1444  
  1445  // Form returns the value of property "HTMLFieldSetElement.form".
  1446  //
  1447  // It returns ok=false if there is no such property.
  1448  func (this HTMLFieldSetElement) Form() (ret HTMLFormElement, ok bool) {
  1449  	ok = js.True == bindings.GetHTMLFieldSetElementForm(
  1450  		this.ref, js.Pointer(&ret),
  1451  	)
  1452  	return
  1453  }
  1454  
  1455  // Name returns the value of property "HTMLFieldSetElement.name".
  1456  //
  1457  // It returns ok=false if there is no such property.
  1458  func (this HTMLFieldSetElement) Name() (ret js.String, ok bool) {
  1459  	ok = js.True == bindings.GetHTMLFieldSetElementName(
  1460  		this.ref, js.Pointer(&ret),
  1461  	)
  1462  	return
  1463  }
  1464  
  1465  // SetName sets the value of property "HTMLFieldSetElement.name" to val.
  1466  //
  1467  // It returns false if the property cannot be set.
  1468  func (this HTMLFieldSetElement) SetName(val js.String) bool {
  1469  	return js.True == bindings.SetHTMLFieldSetElementName(
  1470  		this.ref,
  1471  		val.Ref(),
  1472  	)
  1473  }
  1474  
  1475  // Type returns the value of property "HTMLFieldSetElement.type".
  1476  //
  1477  // It returns ok=false if there is no such property.
  1478  func (this HTMLFieldSetElement) Type() (ret js.String, ok bool) {
  1479  	ok = js.True == bindings.GetHTMLFieldSetElementType(
  1480  		this.ref, js.Pointer(&ret),
  1481  	)
  1482  	return
  1483  }
  1484  
  1485  // Elements returns the value of property "HTMLFieldSetElement.elements".
  1486  //
  1487  // It returns ok=false if there is no such property.
  1488  func (this HTMLFieldSetElement) Elements() (ret HTMLCollection, ok bool) {
  1489  	ok = js.True == bindings.GetHTMLFieldSetElementElements(
  1490  		this.ref, js.Pointer(&ret),
  1491  	)
  1492  	return
  1493  }
  1494  
  1495  // WillValidate returns the value of property "HTMLFieldSetElement.willValidate".
  1496  //
  1497  // It returns ok=false if there is no such property.
  1498  func (this HTMLFieldSetElement) WillValidate() (ret bool, ok bool) {
  1499  	ok = js.True == bindings.GetHTMLFieldSetElementWillValidate(
  1500  		this.ref, js.Pointer(&ret),
  1501  	)
  1502  	return
  1503  }
  1504  
  1505  // Validity returns the value of property "HTMLFieldSetElement.validity".
  1506  //
  1507  // It returns ok=false if there is no such property.
  1508  func (this HTMLFieldSetElement) Validity() (ret ValidityState, ok bool) {
  1509  	ok = js.True == bindings.GetHTMLFieldSetElementValidity(
  1510  		this.ref, js.Pointer(&ret),
  1511  	)
  1512  	return
  1513  }
  1514  
  1515  // ValidationMessage returns the value of property "HTMLFieldSetElement.validationMessage".
  1516  //
  1517  // It returns ok=false if there is no such property.
  1518  func (this HTMLFieldSetElement) ValidationMessage() (ret js.String, ok bool) {
  1519  	ok = js.True == bindings.GetHTMLFieldSetElementValidationMessage(
  1520  		this.ref, js.Pointer(&ret),
  1521  	)
  1522  	return
  1523  }
  1524  
  1525  // HasFuncCheckValidity returns true if the method "HTMLFieldSetElement.checkValidity" exists.
  1526  func (this HTMLFieldSetElement) HasFuncCheckValidity() bool {
  1527  	return js.True == bindings.HasFuncHTMLFieldSetElementCheckValidity(
  1528  		this.ref,
  1529  	)
  1530  }
  1531  
  1532  // FuncCheckValidity returns the method "HTMLFieldSetElement.checkValidity".
  1533  func (this HTMLFieldSetElement) FuncCheckValidity() (fn js.Func[func() bool]) {
  1534  	bindings.FuncHTMLFieldSetElementCheckValidity(
  1535  		this.ref, js.Pointer(&fn),
  1536  	)
  1537  	return
  1538  }
  1539  
  1540  // CheckValidity calls the method "HTMLFieldSetElement.checkValidity".
  1541  func (this HTMLFieldSetElement) CheckValidity() (ret bool) {
  1542  	bindings.CallHTMLFieldSetElementCheckValidity(
  1543  		this.ref, js.Pointer(&ret),
  1544  	)
  1545  
  1546  	return
  1547  }
  1548  
  1549  // TryCheckValidity calls the method "HTMLFieldSetElement.checkValidity"
  1550  // in a try/catch block and returns (_, err, ok = false) when it went through
  1551  // the catch clause.
  1552  func (this HTMLFieldSetElement) TryCheckValidity() (ret bool, exception js.Any, ok bool) {
  1553  	ok = js.True == bindings.TryHTMLFieldSetElementCheckValidity(
  1554  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1555  	)
  1556  
  1557  	return
  1558  }
  1559  
  1560  // HasFuncReportValidity returns true if the method "HTMLFieldSetElement.reportValidity" exists.
  1561  func (this HTMLFieldSetElement) HasFuncReportValidity() bool {
  1562  	return js.True == bindings.HasFuncHTMLFieldSetElementReportValidity(
  1563  		this.ref,
  1564  	)
  1565  }
  1566  
  1567  // FuncReportValidity returns the method "HTMLFieldSetElement.reportValidity".
  1568  func (this HTMLFieldSetElement) FuncReportValidity() (fn js.Func[func() bool]) {
  1569  	bindings.FuncHTMLFieldSetElementReportValidity(
  1570  		this.ref, js.Pointer(&fn),
  1571  	)
  1572  	return
  1573  }
  1574  
  1575  // ReportValidity calls the method "HTMLFieldSetElement.reportValidity".
  1576  func (this HTMLFieldSetElement) ReportValidity() (ret bool) {
  1577  	bindings.CallHTMLFieldSetElementReportValidity(
  1578  		this.ref, js.Pointer(&ret),
  1579  	)
  1580  
  1581  	return
  1582  }
  1583  
  1584  // TryReportValidity calls the method "HTMLFieldSetElement.reportValidity"
  1585  // in a try/catch block and returns (_, err, ok = false) when it went through
  1586  // the catch clause.
  1587  func (this HTMLFieldSetElement) TryReportValidity() (ret bool, exception js.Any, ok bool) {
  1588  	ok = js.True == bindings.TryHTMLFieldSetElementReportValidity(
  1589  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1590  	)
  1591  
  1592  	return
  1593  }
  1594  
  1595  // HasFuncSetCustomValidity returns true if the method "HTMLFieldSetElement.setCustomValidity" exists.
  1596  func (this HTMLFieldSetElement) HasFuncSetCustomValidity() bool {
  1597  	return js.True == bindings.HasFuncHTMLFieldSetElementSetCustomValidity(
  1598  		this.ref,
  1599  	)
  1600  }
  1601  
  1602  // FuncSetCustomValidity returns the method "HTMLFieldSetElement.setCustomValidity".
  1603  func (this HTMLFieldSetElement) FuncSetCustomValidity() (fn js.Func[func(err js.String)]) {
  1604  	bindings.FuncHTMLFieldSetElementSetCustomValidity(
  1605  		this.ref, js.Pointer(&fn),
  1606  	)
  1607  	return
  1608  }
  1609  
  1610  // SetCustomValidity calls the method "HTMLFieldSetElement.setCustomValidity".
  1611  func (this HTMLFieldSetElement) SetCustomValidity(err js.String) (ret js.Void) {
  1612  	bindings.CallHTMLFieldSetElementSetCustomValidity(
  1613  		this.ref, js.Pointer(&ret),
  1614  		err.Ref(),
  1615  	)
  1616  
  1617  	return
  1618  }
  1619  
  1620  // TrySetCustomValidity calls the method "HTMLFieldSetElement.setCustomValidity"
  1621  // in a try/catch block and returns (_, err, ok = false) when it went through
  1622  // the catch clause.
  1623  func (this HTMLFieldSetElement) TrySetCustomValidity(err js.String) (ret js.Void, exception js.Any, ok bool) {
  1624  	ok = js.True == bindings.TryHTMLFieldSetElementSetCustomValidity(
  1625  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1626  		err.Ref(),
  1627  	)
  1628  
  1629  	return
  1630  }
  1631  
  1632  type HTMLFontElement struct {
  1633  	HTMLElement
  1634  }
  1635  
  1636  func (this HTMLFontElement) Once() HTMLFontElement {
  1637  	this.ref.Once()
  1638  	return this
  1639  }
  1640  
  1641  func (this HTMLFontElement) Ref() js.Ref {
  1642  	return this.HTMLElement.Ref()
  1643  }
  1644  
  1645  func (this HTMLFontElement) FromRef(ref js.Ref) HTMLFontElement {
  1646  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1647  	return this
  1648  }
  1649  
  1650  func (this HTMLFontElement) Free() {
  1651  	this.ref.Free()
  1652  }
  1653  
  1654  // Color returns the value of property "HTMLFontElement.color".
  1655  //
  1656  // It returns ok=false if there is no such property.
  1657  func (this HTMLFontElement) Color() (ret js.String, ok bool) {
  1658  	ok = js.True == bindings.GetHTMLFontElementColor(
  1659  		this.ref, js.Pointer(&ret),
  1660  	)
  1661  	return
  1662  }
  1663  
  1664  // SetColor sets the value of property "HTMLFontElement.color" to val.
  1665  //
  1666  // It returns false if the property cannot be set.
  1667  func (this HTMLFontElement) SetColor(val js.String) bool {
  1668  	return js.True == bindings.SetHTMLFontElementColor(
  1669  		this.ref,
  1670  		val.Ref(),
  1671  	)
  1672  }
  1673  
  1674  // Face returns the value of property "HTMLFontElement.face".
  1675  //
  1676  // It returns ok=false if there is no such property.
  1677  func (this HTMLFontElement) Face() (ret js.String, ok bool) {
  1678  	ok = js.True == bindings.GetHTMLFontElementFace(
  1679  		this.ref, js.Pointer(&ret),
  1680  	)
  1681  	return
  1682  }
  1683  
  1684  // SetFace sets the value of property "HTMLFontElement.face" to val.
  1685  //
  1686  // It returns false if the property cannot be set.
  1687  func (this HTMLFontElement) SetFace(val js.String) bool {
  1688  	return js.True == bindings.SetHTMLFontElementFace(
  1689  		this.ref,
  1690  		val.Ref(),
  1691  	)
  1692  }
  1693  
  1694  // Size returns the value of property "HTMLFontElement.size".
  1695  //
  1696  // It returns ok=false if there is no such property.
  1697  func (this HTMLFontElement) Size() (ret js.String, ok bool) {
  1698  	ok = js.True == bindings.GetHTMLFontElementSize(
  1699  		this.ref, js.Pointer(&ret),
  1700  	)
  1701  	return
  1702  }
  1703  
  1704  // SetSize sets the value of property "HTMLFontElement.size" to val.
  1705  //
  1706  // It returns false if the property cannot be set.
  1707  func (this HTMLFontElement) SetSize(val js.String) bool {
  1708  	return js.True == bindings.SetHTMLFontElementSize(
  1709  		this.ref,
  1710  		val.Ref(),
  1711  	)
  1712  }
  1713  
  1714  type HTMLFrameElement struct {
  1715  	HTMLElement
  1716  }
  1717  
  1718  func (this HTMLFrameElement) Once() HTMLFrameElement {
  1719  	this.ref.Once()
  1720  	return this
  1721  }
  1722  
  1723  func (this HTMLFrameElement) Ref() js.Ref {
  1724  	return this.HTMLElement.Ref()
  1725  }
  1726  
  1727  func (this HTMLFrameElement) FromRef(ref js.Ref) HTMLFrameElement {
  1728  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1729  	return this
  1730  }
  1731  
  1732  func (this HTMLFrameElement) Free() {
  1733  	this.ref.Free()
  1734  }
  1735  
  1736  // Name returns the value of property "HTMLFrameElement.name".
  1737  //
  1738  // It returns ok=false if there is no such property.
  1739  func (this HTMLFrameElement) Name() (ret js.String, ok bool) {
  1740  	ok = js.True == bindings.GetHTMLFrameElementName(
  1741  		this.ref, js.Pointer(&ret),
  1742  	)
  1743  	return
  1744  }
  1745  
  1746  // SetName sets the value of property "HTMLFrameElement.name" to val.
  1747  //
  1748  // It returns false if the property cannot be set.
  1749  func (this HTMLFrameElement) SetName(val js.String) bool {
  1750  	return js.True == bindings.SetHTMLFrameElementName(
  1751  		this.ref,
  1752  		val.Ref(),
  1753  	)
  1754  }
  1755  
  1756  // Scrolling returns the value of property "HTMLFrameElement.scrolling".
  1757  //
  1758  // It returns ok=false if there is no such property.
  1759  func (this HTMLFrameElement) Scrolling() (ret js.String, ok bool) {
  1760  	ok = js.True == bindings.GetHTMLFrameElementScrolling(
  1761  		this.ref, js.Pointer(&ret),
  1762  	)
  1763  	return
  1764  }
  1765  
  1766  // SetScrolling sets the value of property "HTMLFrameElement.scrolling" to val.
  1767  //
  1768  // It returns false if the property cannot be set.
  1769  func (this HTMLFrameElement) SetScrolling(val js.String) bool {
  1770  	return js.True == bindings.SetHTMLFrameElementScrolling(
  1771  		this.ref,
  1772  		val.Ref(),
  1773  	)
  1774  }
  1775  
  1776  // Src returns the value of property "HTMLFrameElement.src".
  1777  //
  1778  // It returns ok=false if there is no such property.
  1779  func (this HTMLFrameElement) Src() (ret js.String, ok bool) {
  1780  	ok = js.True == bindings.GetHTMLFrameElementSrc(
  1781  		this.ref, js.Pointer(&ret),
  1782  	)
  1783  	return
  1784  }
  1785  
  1786  // SetSrc sets the value of property "HTMLFrameElement.src" to val.
  1787  //
  1788  // It returns false if the property cannot be set.
  1789  func (this HTMLFrameElement) SetSrc(val js.String) bool {
  1790  	return js.True == bindings.SetHTMLFrameElementSrc(
  1791  		this.ref,
  1792  		val.Ref(),
  1793  	)
  1794  }
  1795  
  1796  // FrameBorder returns the value of property "HTMLFrameElement.frameBorder".
  1797  //
  1798  // It returns ok=false if there is no such property.
  1799  func (this HTMLFrameElement) FrameBorder() (ret js.String, ok bool) {
  1800  	ok = js.True == bindings.GetHTMLFrameElementFrameBorder(
  1801  		this.ref, js.Pointer(&ret),
  1802  	)
  1803  	return
  1804  }
  1805  
  1806  // SetFrameBorder sets the value of property "HTMLFrameElement.frameBorder" to val.
  1807  //
  1808  // It returns false if the property cannot be set.
  1809  func (this HTMLFrameElement) SetFrameBorder(val js.String) bool {
  1810  	return js.True == bindings.SetHTMLFrameElementFrameBorder(
  1811  		this.ref,
  1812  		val.Ref(),
  1813  	)
  1814  }
  1815  
  1816  // LongDesc returns the value of property "HTMLFrameElement.longDesc".
  1817  //
  1818  // It returns ok=false if there is no such property.
  1819  func (this HTMLFrameElement) LongDesc() (ret js.String, ok bool) {
  1820  	ok = js.True == bindings.GetHTMLFrameElementLongDesc(
  1821  		this.ref, js.Pointer(&ret),
  1822  	)
  1823  	return
  1824  }
  1825  
  1826  // SetLongDesc sets the value of property "HTMLFrameElement.longDesc" to val.
  1827  //
  1828  // It returns false if the property cannot be set.
  1829  func (this HTMLFrameElement) SetLongDesc(val js.String) bool {
  1830  	return js.True == bindings.SetHTMLFrameElementLongDesc(
  1831  		this.ref,
  1832  		val.Ref(),
  1833  	)
  1834  }
  1835  
  1836  // NoResize returns the value of property "HTMLFrameElement.noResize".
  1837  //
  1838  // It returns ok=false if there is no such property.
  1839  func (this HTMLFrameElement) NoResize() (ret bool, ok bool) {
  1840  	ok = js.True == bindings.GetHTMLFrameElementNoResize(
  1841  		this.ref, js.Pointer(&ret),
  1842  	)
  1843  	return
  1844  }
  1845  
  1846  // SetNoResize sets the value of property "HTMLFrameElement.noResize" to val.
  1847  //
  1848  // It returns false if the property cannot be set.
  1849  func (this HTMLFrameElement) SetNoResize(val bool) bool {
  1850  	return js.True == bindings.SetHTMLFrameElementNoResize(
  1851  		this.ref,
  1852  		js.Bool(bool(val)),
  1853  	)
  1854  }
  1855  
  1856  // ContentDocument returns the value of property "HTMLFrameElement.contentDocument".
  1857  //
  1858  // It returns ok=false if there is no such property.
  1859  func (this HTMLFrameElement) ContentDocument() (ret Document, ok bool) {
  1860  	ok = js.True == bindings.GetHTMLFrameElementContentDocument(
  1861  		this.ref, js.Pointer(&ret),
  1862  	)
  1863  	return
  1864  }
  1865  
  1866  // ContentWindow returns the value of property "HTMLFrameElement.contentWindow".
  1867  //
  1868  // It returns ok=false if there is no such property.
  1869  func (this HTMLFrameElement) ContentWindow() (ret js.Object, ok bool) {
  1870  	ok = js.True == bindings.GetHTMLFrameElementContentWindow(
  1871  		this.ref, js.Pointer(&ret),
  1872  	)
  1873  	return
  1874  }
  1875  
  1876  // MarginHeight returns the value of property "HTMLFrameElement.marginHeight".
  1877  //
  1878  // It returns ok=false if there is no such property.
  1879  func (this HTMLFrameElement) MarginHeight() (ret js.String, ok bool) {
  1880  	ok = js.True == bindings.GetHTMLFrameElementMarginHeight(
  1881  		this.ref, js.Pointer(&ret),
  1882  	)
  1883  	return
  1884  }
  1885  
  1886  // SetMarginHeight sets the value of property "HTMLFrameElement.marginHeight" to val.
  1887  //
  1888  // It returns false if the property cannot be set.
  1889  func (this HTMLFrameElement) SetMarginHeight(val js.String) bool {
  1890  	return js.True == bindings.SetHTMLFrameElementMarginHeight(
  1891  		this.ref,
  1892  		val.Ref(),
  1893  	)
  1894  }
  1895  
  1896  // MarginWidth returns the value of property "HTMLFrameElement.marginWidth".
  1897  //
  1898  // It returns ok=false if there is no such property.
  1899  func (this HTMLFrameElement) MarginWidth() (ret js.String, ok bool) {
  1900  	ok = js.True == bindings.GetHTMLFrameElementMarginWidth(
  1901  		this.ref, js.Pointer(&ret),
  1902  	)
  1903  	return
  1904  }
  1905  
  1906  // SetMarginWidth sets the value of property "HTMLFrameElement.marginWidth" to val.
  1907  //
  1908  // It returns false if the property cannot be set.
  1909  func (this HTMLFrameElement) SetMarginWidth(val js.String) bool {
  1910  	return js.True == bindings.SetHTMLFrameElementMarginWidth(
  1911  		this.ref,
  1912  		val.Ref(),
  1913  	)
  1914  }
  1915  
  1916  type HTMLFrameSetElement struct {
  1917  	HTMLElement
  1918  }
  1919  
  1920  func (this HTMLFrameSetElement) Once() HTMLFrameSetElement {
  1921  	this.ref.Once()
  1922  	return this
  1923  }
  1924  
  1925  func (this HTMLFrameSetElement) Ref() js.Ref {
  1926  	return this.HTMLElement.Ref()
  1927  }
  1928  
  1929  func (this HTMLFrameSetElement) FromRef(ref js.Ref) HTMLFrameSetElement {
  1930  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1931  	return this
  1932  }
  1933  
  1934  func (this HTMLFrameSetElement) Free() {
  1935  	this.ref.Free()
  1936  }
  1937  
  1938  // Cols returns the value of property "HTMLFrameSetElement.cols".
  1939  //
  1940  // It returns ok=false if there is no such property.
  1941  func (this HTMLFrameSetElement) Cols() (ret js.String, ok bool) {
  1942  	ok = js.True == bindings.GetHTMLFrameSetElementCols(
  1943  		this.ref, js.Pointer(&ret),
  1944  	)
  1945  	return
  1946  }
  1947  
  1948  // SetCols sets the value of property "HTMLFrameSetElement.cols" to val.
  1949  //
  1950  // It returns false if the property cannot be set.
  1951  func (this HTMLFrameSetElement) SetCols(val js.String) bool {
  1952  	return js.True == bindings.SetHTMLFrameSetElementCols(
  1953  		this.ref,
  1954  		val.Ref(),
  1955  	)
  1956  }
  1957  
  1958  // Rows returns the value of property "HTMLFrameSetElement.rows".
  1959  //
  1960  // It returns ok=false if there is no such property.
  1961  func (this HTMLFrameSetElement) Rows() (ret js.String, ok bool) {
  1962  	ok = js.True == bindings.GetHTMLFrameSetElementRows(
  1963  		this.ref, js.Pointer(&ret),
  1964  	)
  1965  	return
  1966  }
  1967  
  1968  // SetRows sets the value of property "HTMLFrameSetElement.rows" to val.
  1969  //
  1970  // It returns false if the property cannot be set.
  1971  func (this HTMLFrameSetElement) SetRows(val js.String) bool {
  1972  	return js.True == bindings.SetHTMLFrameSetElementRows(
  1973  		this.ref,
  1974  		val.Ref(),
  1975  	)
  1976  }
  1977  
  1978  type HTMLHRElement struct {
  1979  	HTMLElement
  1980  }
  1981  
  1982  func (this HTMLHRElement) Once() HTMLHRElement {
  1983  	this.ref.Once()
  1984  	return this
  1985  }
  1986  
  1987  func (this HTMLHRElement) Ref() js.Ref {
  1988  	return this.HTMLElement.Ref()
  1989  }
  1990  
  1991  func (this HTMLHRElement) FromRef(ref js.Ref) HTMLHRElement {
  1992  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  1993  	return this
  1994  }
  1995  
  1996  func (this HTMLHRElement) Free() {
  1997  	this.ref.Free()
  1998  }
  1999  
  2000  // Align returns the value of property "HTMLHRElement.align".
  2001  //
  2002  // It returns ok=false if there is no such property.
  2003  func (this HTMLHRElement) Align() (ret js.String, ok bool) {
  2004  	ok = js.True == bindings.GetHTMLHRElementAlign(
  2005  		this.ref, js.Pointer(&ret),
  2006  	)
  2007  	return
  2008  }
  2009  
  2010  // SetAlign sets the value of property "HTMLHRElement.align" to val.
  2011  //
  2012  // It returns false if the property cannot be set.
  2013  func (this HTMLHRElement) SetAlign(val js.String) bool {
  2014  	return js.True == bindings.SetHTMLHRElementAlign(
  2015  		this.ref,
  2016  		val.Ref(),
  2017  	)
  2018  }
  2019  
  2020  // Color returns the value of property "HTMLHRElement.color".
  2021  //
  2022  // It returns ok=false if there is no such property.
  2023  func (this HTMLHRElement) Color() (ret js.String, ok bool) {
  2024  	ok = js.True == bindings.GetHTMLHRElementColor(
  2025  		this.ref, js.Pointer(&ret),
  2026  	)
  2027  	return
  2028  }
  2029  
  2030  // SetColor sets the value of property "HTMLHRElement.color" to val.
  2031  //
  2032  // It returns false if the property cannot be set.
  2033  func (this HTMLHRElement) SetColor(val js.String) bool {
  2034  	return js.True == bindings.SetHTMLHRElementColor(
  2035  		this.ref,
  2036  		val.Ref(),
  2037  	)
  2038  }
  2039  
  2040  // NoShade returns the value of property "HTMLHRElement.noShade".
  2041  //
  2042  // It returns ok=false if there is no such property.
  2043  func (this HTMLHRElement) NoShade() (ret bool, ok bool) {
  2044  	ok = js.True == bindings.GetHTMLHRElementNoShade(
  2045  		this.ref, js.Pointer(&ret),
  2046  	)
  2047  	return
  2048  }
  2049  
  2050  // SetNoShade sets the value of property "HTMLHRElement.noShade" to val.
  2051  //
  2052  // It returns false if the property cannot be set.
  2053  func (this HTMLHRElement) SetNoShade(val bool) bool {
  2054  	return js.True == bindings.SetHTMLHRElementNoShade(
  2055  		this.ref,
  2056  		js.Bool(bool(val)),
  2057  	)
  2058  }
  2059  
  2060  // Size returns the value of property "HTMLHRElement.size".
  2061  //
  2062  // It returns ok=false if there is no such property.
  2063  func (this HTMLHRElement) Size() (ret js.String, ok bool) {
  2064  	ok = js.True == bindings.GetHTMLHRElementSize(
  2065  		this.ref, js.Pointer(&ret),
  2066  	)
  2067  	return
  2068  }
  2069  
  2070  // SetSize sets the value of property "HTMLHRElement.size" to val.
  2071  //
  2072  // It returns false if the property cannot be set.
  2073  func (this HTMLHRElement) SetSize(val js.String) bool {
  2074  	return js.True == bindings.SetHTMLHRElementSize(
  2075  		this.ref,
  2076  		val.Ref(),
  2077  	)
  2078  }
  2079  
  2080  // Width returns the value of property "HTMLHRElement.width".
  2081  //
  2082  // It returns ok=false if there is no such property.
  2083  func (this HTMLHRElement) Width() (ret js.String, ok bool) {
  2084  	ok = js.True == bindings.GetHTMLHRElementWidth(
  2085  		this.ref, js.Pointer(&ret),
  2086  	)
  2087  	return
  2088  }
  2089  
  2090  // SetWidth sets the value of property "HTMLHRElement.width" to val.
  2091  //
  2092  // It returns false if the property cannot be set.
  2093  func (this HTMLHRElement) SetWidth(val js.String) bool {
  2094  	return js.True == bindings.SetHTMLHRElementWidth(
  2095  		this.ref,
  2096  		val.Ref(),
  2097  	)
  2098  }
  2099  
  2100  type HTMLHeadingElement struct {
  2101  	HTMLElement
  2102  }
  2103  
  2104  func (this HTMLHeadingElement) Once() HTMLHeadingElement {
  2105  	this.ref.Once()
  2106  	return this
  2107  }
  2108  
  2109  func (this HTMLHeadingElement) Ref() js.Ref {
  2110  	return this.HTMLElement.Ref()
  2111  }
  2112  
  2113  func (this HTMLHeadingElement) FromRef(ref js.Ref) HTMLHeadingElement {
  2114  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  2115  	return this
  2116  }
  2117  
  2118  func (this HTMLHeadingElement) Free() {
  2119  	this.ref.Free()
  2120  }
  2121  
  2122  // Align returns the value of property "HTMLHeadingElement.align".
  2123  //
  2124  // It returns ok=false if there is no such property.
  2125  func (this HTMLHeadingElement) Align() (ret js.String, ok bool) {
  2126  	ok = js.True == bindings.GetHTMLHeadingElementAlign(
  2127  		this.ref, js.Pointer(&ret),
  2128  	)
  2129  	return
  2130  }
  2131  
  2132  // SetAlign sets the value of property "HTMLHeadingElement.align" to val.
  2133  //
  2134  // It returns false if the property cannot be set.
  2135  func (this HTMLHeadingElement) SetAlign(val js.String) bool {
  2136  	return js.True == bindings.SetHTMLHeadingElementAlign(
  2137  		this.ref,
  2138  		val.Ref(),
  2139  	)
  2140  }
  2141  
  2142  type HTMLHtmlElement struct {
  2143  	HTMLElement
  2144  }
  2145  
  2146  func (this HTMLHtmlElement) Once() HTMLHtmlElement {
  2147  	this.ref.Once()
  2148  	return this
  2149  }
  2150  
  2151  func (this HTMLHtmlElement) Ref() js.Ref {
  2152  	return this.HTMLElement.Ref()
  2153  }
  2154  
  2155  func (this HTMLHtmlElement) FromRef(ref js.Ref) HTMLHtmlElement {
  2156  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  2157  	return this
  2158  }
  2159  
  2160  func (this HTMLHtmlElement) Free() {
  2161  	this.ref.Free()
  2162  }
  2163  
  2164  // Version returns the value of property "HTMLHtmlElement.version".
  2165  //
  2166  // It returns ok=false if there is no such property.
  2167  func (this HTMLHtmlElement) Version() (ret js.String, ok bool) {
  2168  	ok = js.True == bindings.GetHTMLHtmlElementVersion(
  2169  		this.ref, js.Pointer(&ret),
  2170  	)
  2171  	return
  2172  }
  2173  
  2174  // SetVersion sets the value of property "HTMLHtmlElement.version" to val.
  2175  //
  2176  // It returns false if the property cannot be set.
  2177  func (this HTMLHtmlElement) SetVersion(val js.String) bool {
  2178  	return js.True == bindings.SetHTMLHtmlElementVersion(
  2179  		this.ref,
  2180  		val.Ref(),
  2181  	)
  2182  }
  2183  
  2184  type HTMLIFrameElement struct {
  2185  	HTMLElement
  2186  }
  2187  
  2188  func (this HTMLIFrameElement) Once() HTMLIFrameElement {
  2189  	this.ref.Once()
  2190  	return this
  2191  }
  2192  
  2193  func (this HTMLIFrameElement) Ref() js.Ref {
  2194  	return this.HTMLElement.Ref()
  2195  }
  2196  
  2197  func (this HTMLIFrameElement) FromRef(ref js.Ref) HTMLIFrameElement {
  2198  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  2199  	return this
  2200  }
  2201  
  2202  func (this HTMLIFrameElement) Free() {
  2203  	this.ref.Free()
  2204  }
  2205  
  2206  // Src returns the value of property "HTMLIFrameElement.src".
  2207  //
  2208  // It returns ok=false if there is no such property.
  2209  func (this HTMLIFrameElement) Src() (ret js.String, ok bool) {
  2210  	ok = js.True == bindings.GetHTMLIFrameElementSrc(
  2211  		this.ref, js.Pointer(&ret),
  2212  	)
  2213  	return
  2214  }
  2215  
  2216  // SetSrc sets the value of property "HTMLIFrameElement.src" to val.
  2217  //
  2218  // It returns false if the property cannot be set.
  2219  func (this HTMLIFrameElement) SetSrc(val js.String) bool {
  2220  	return js.True == bindings.SetHTMLIFrameElementSrc(
  2221  		this.ref,
  2222  		val.Ref(),
  2223  	)
  2224  }
  2225  
  2226  // Srcdoc returns the value of property "HTMLIFrameElement.srcdoc".
  2227  //
  2228  // It returns ok=false if there is no such property.
  2229  func (this HTMLIFrameElement) Srcdoc() (ret js.String, ok bool) {
  2230  	ok = js.True == bindings.GetHTMLIFrameElementSrcdoc(
  2231  		this.ref, js.Pointer(&ret),
  2232  	)
  2233  	return
  2234  }
  2235  
  2236  // SetSrcdoc sets the value of property "HTMLIFrameElement.srcdoc" to val.
  2237  //
  2238  // It returns false if the property cannot be set.
  2239  func (this HTMLIFrameElement) SetSrcdoc(val js.String) bool {
  2240  	return js.True == bindings.SetHTMLIFrameElementSrcdoc(
  2241  		this.ref,
  2242  		val.Ref(),
  2243  	)
  2244  }
  2245  
  2246  // Name returns the value of property "HTMLIFrameElement.name".
  2247  //
  2248  // It returns ok=false if there is no such property.
  2249  func (this HTMLIFrameElement) Name() (ret js.String, ok bool) {
  2250  	ok = js.True == bindings.GetHTMLIFrameElementName(
  2251  		this.ref, js.Pointer(&ret),
  2252  	)
  2253  	return
  2254  }
  2255  
  2256  // SetName sets the value of property "HTMLIFrameElement.name" to val.
  2257  //
  2258  // It returns false if the property cannot be set.
  2259  func (this HTMLIFrameElement) SetName(val js.String) bool {
  2260  	return js.True == bindings.SetHTMLIFrameElementName(
  2261  		this.ref,
  2262  		val.Ref(),
  2263  	)
  2264  }
  2265  
  2266  // Sandbox returns the value of property "HTMLIFrameElement.sandbox".
  2267  //
  2268  // It returns ok=false if there is no such property.
  2269  func (this HTMLIFrameElement) Sandbox() (ret DOMTokenList, ok bool) {
  2270  	ok = js.True == bindings.GetHTMLIFrameElementSandbox(
  2271  		this.ref, js.Pointer(&ret),
  2272  	)
  2273  	return
  2274  }
  2275  
  2276  // Allow returns the value of property "HTMLIFrameElement.allow".
  2277  //
  2278  // It returns ok=false if there is no such property.
  2279  func (this HTMLIFrameElement) Allow() (ret js.String, ok bool) {
  2280  	ok = js.True == bindings.GetHTMLIFrameElementAllow(
  2281  		this.ref, js.Pointer(&ret),
  2282  	)
  2283  	return
  2284  }
  2285  
  2286  // SetAllow sets the value of property "HTMLIFrameElement.allow" to val.
  2287  //
  2288  // It returns false if the property cannot be set.
  2289  func (this HTMLIFrameElement) SetAllow(val js.String) bool {
  2290  	return js.True == bindings.SetHTMLIFrameElementAllow(
  2291  		this.ref,
  2292  		val.Ref(),
  2293  	)
  2294  }
  2295  
  2296  // AllowFullscreen returns the value of property "HTMLIFrameElement.allowFullscreen".
  2297  //
  2298  // It returns ok=false if there is no such property.
  2299  func (this HTMLIFrameElement) AllowFullscreen() (ret bool, ok bool) {
  2300  	ok = js.True == bindings.GetHTMLIFrameElementAllowFullscreen(
  2301  		this.ref, js.Pointer(&ret),
  2302  	)
  2303  	return
  2304  }
  2305  
  2306  // SetAllowFullscreen sets the value of property "HTMLIFrameElement.allowFullscreen" to val.
  2307  //
  2308  // It returns false if the property cannot be set.
  2309  func (this HTMLIFrameElement) SetAllowFullscreen(val bool) bool {
  2310  	return js.True == bindings.SetHTMLIFrameElementAllowFullscreen(
  2311  		this.ref,
  2312  		js.Bool(bool(val)),
  2313  	)
  2314  }
  2315  
  2316  // Width returns the value of property "HTMLIFrameElement.width".
  2317  //
  2318  // It returns ok=false if there is no such property.
  2319  func (this HTMLIFrameElement) Width() (ret js.String, ok bool) {
  2320  	ok = js.True == bindings.GetHTMLIFrameElementWidth(
  2321  		this.ref, js.Pointer(&ret),
  2322  	)
  2323  	return
  2324  }
  2325  
  2326  // SetWidth sets the value of property "HTMLIFrameElement.width" to val.
  2327  //
  2328  // It returns false if the property cannot be set.
  2329  func (this HTMLIFrameElement) SetWidth(val js.String) bool {
  2330  	return js.True == bindings.SetHTMLIFrameElementWidth(
  2331  		this.ref,
  2332  		val.Ref(),
  2333  	)
  2334  }
  2335  
  2336  // Height returns the value of property "HTMLIFrameElement.height".
  2337  //
  2338  // It returns ok=false if there is no such property.
  2339  func (this HTMLIFrameElement) Height() (ret js.String, ok bool) {
  2340  	ok = js.True == bindings.GetHTMLIFrameElementHeight(
  2341  		this.ref, js.Pointer(&ret),
  2342  	)
  2343  	return
  2344  }
  2345  
  2346  // SetHeight sets the value of property "HTMLIFrameElement.height" to val.
  2347  //
  2348  // It returns false if the property cannot be set.
  2349  func (this HTMLIFrameElement) SetHeight(val js.String) bool {
  2350  	return js.True == bindings.SetHTMLIFrameElementHeight(
  2351  		this.ref,
  2352  		val.Ref(),
  2353  	)
  2354  }
  2355  
  2356  // ReferrerPolicy returns the value of property "HTMLIFrameElement.referrerPolicy".
  2357  //
  2358  // It returns ok=false if there is no such property.
  2359  func (this HTMLIFrameElement) ReferrerPolicy() (ret js.String, ok bool) {
  2360  	ok = js.True == bindings.GetHTMLIFrameElementReferrerPolicy(
  2361  		this.ref, js.Pointer(&ret),
  2362  	)
  2363  	return
  2364  }
  2365  
  2366  // SetReferrerPolicy sets the value of property "HTMLIFrameElement.referrerPolicy" to val.
  2367  //
  2368  // It returns false if the property cannot be set.
  2369  func (this HTMLIFrameElement) SetReferrerPolicy(val js.String) bool {
  2370  	return js.True == bindings.SetHTMLIFrameElementReferrerPolicy(
  2371  		this.ref,
  2372  		val.Ref(),
  2373  	)
  2374  }
  2375  
  2376  // Loading returns the value of property "HTMLIFrameElement.loading".
  2377  //
  2378  // It returns ok=false if there is no such property.
  2379  func (this HTMLIFrameElement) Loading() (ret js.String, ok bool) {
  2380  	ok = js.True == bindings.GetHTMLIFrameElementLoading(
  2381  		this.ref, js.Pointer(&ret),
  2382  	)
  2383  	return
  2384  }
  2385  
  2386  // SetLoading sets the value of property "HTMLIFrameElement.loading" to val.
  2387  //
  2388  // It returns false if the property cannot be set.
  2389  func (this HTMLIFrameElement) SetLoading(val js.String) bool {
  2390  	return js.True == bindings.SetHTMLIFrameElementLoading(
  2391  		this.ref,
  2392  		val.Ref(),
  2393  	)
  2394  }
  2395  
  2396  // ContentDocument returns the value of property "HTMLIFrameElement.contentDocument".
  2397  //
  2398  // It returns ok=false if there is no such property.
  2399  func (this HTMLIFrameElement) ContentDocument() (ret Document, ok bool) {
  2400  	ok = js.True == bindings.GetHTMLIFrameElementContentDocument(
  2401  		this.ref, js.Pointer(&ret),
  2402  	)
  2403  	return
  2404  }
  2405  
  2406  // ContentWindow returns the value of property "HTMLIFrameElement.contentWindow".
  2407  //
  2408  // It returns ok=false if there is no such property.
  2409  func (this HTMLIFrameElement) ContentWindow() (ret js.Object, ok bool) {
  2410  	ok = js.True == bindings.GetHTMLIFrameElementContentWindow(
  2411  		this.ref, js.Pointer(&ret),
  2412  	)
  2413  	return
  2414  }
  2415  
  2416  // PermissionsPolicy returns the value of property "HTMLIFrameElement.permissionsPolicy".
  2417  //
  2418  // It returns ok=false if there is no such property.
  2419  func (this HTMLIFrameElement) PermissionsPolicy() (ret PermissionsPolicy, ok bool) {
  2420  	ok = js.True == bindings.GetHTMLIFrameElementPermissionsPolicy(
  2421  		this.ref, js.Pointer(&ret),
  2422  	)
  2423  	return
  2424  }
  2425  
  2426  // Csp returns the value of property "HTMLIFrameElement.csp".
  2427  //
  2428  // It returns ok=false if there is no such property.
  2429  func (this HTMLIFrameElement) Csp() (ret js.String, ok bool) {
  2430  	ok = js.True == bindings.GetHTMLIFrameElementCsp(
  2431  		this.ref, js.Pointer(&ret),
  2432  	)
  2433  	return
  2434  }
  2435  
  2436  // SetCsp sets the value of property "HTMLIFrameElement.csp" to val.
  2437  //
  2438  // It returns false if the property cannot be set.
  2439  func (this HTMLIFrameElement) SetCsp(val js.String) bool {
  2440  	return js.True == bindings.SetHTMLIFrameElementCsp(
  2441  		this.ref,
  2442  		val.Ref(),
  2443  	)
  2444  }
  2445  
  2446  // PrivateToken returns the value of property "HTMLIFrameElement.privateToken".
  2447  //
  2448  // It returns ok=false if there is no such property.
  2449  func (this HTMLIFrameElement) PrivateToken() (ret js.String, ok bool) {
  2450  	ok = js.True == bindings.GetHTMLIFrameElementPrivateToken(
  2451  		this.ref, js.Pointer(&ret),
  2452  	)
  2453  	return
  2454  }
  2455  
  2456  // SetPrivateToken sets the value of property "HTMLIFrameElement.privateToken" to val.
  2457  //
  2458  // It returns false if the property cannot be set.
  2459  func (this HTMLIFrameElement) SetPrivateToken(val js.String) bool {
  2460  	return js.True == bindings.SetHTMLIFrameElementPrivateToken(
  2461  		this.ref,
  2462  		val.Ref(),
  2463  	)
  2464  }
  2465  
  2466  // Align returns the value of property "HTMLIFrameElement.align".
  2467  //
  2468  // It returns ok=false if there is no such property.
  2469  func (this HTMLIFrameElement) Align() (ret js.String, ok bool) {
  2470  	ok = js.True == bindings.GetHTMLIFrameElementAlign(
  2471  		this.ref, js.Pointer(&ret),
  2472  	)
  2473  	return
  2474  }
  2475  
  2476  // SetAlign sets the value of property "HTMLIFrameElement.align" to val.
  2477  //
  2478  // It returns false if the property cannot be set.
  2479  func (this HTMLIFrameElement) SetAlign(val js.String) bool {
  2480  	return js.True == bindings.SetHTMLIFrameElementAlign(
  2481  		this.ref,
  2482  		val.Ref(),
  2483  	)
  2484  }
  2485  
  2486  // Scrolling returns the value of property "HTMLIFrameElement.scrolling".
  2487  //
  2488  // It returns ok=false if there is no such property.
  2489  func (this HTMLIFrameElement) Scrolling() (ret js.String, ok bool) {
  2490  	ok = js.True == bindings.GetHTMLIFrameElementScrolling(
  2491  		this.ref, js.Pointer(&ret),
  2492  	)
  2493  	return
  2494  }
  2495  
  2496  // SetScrolling sets the value of property "HTMLIFrameElement.scrolling" to val.
  2497  //
  2498  // It returns false if the property cannot be set.
  2499  func (this HTMLIFrameElement) SetScrolling(val js.String) bool {
  2500  	return js.True == bindings.SetHTMLIFrameElementScrolling(
  2501  		this.ref,
  2502  		val.Ref(),
  2503  	)
  2504  }
  2505  
  2506  // FrameBorder returns the value of property "HTMLIFrameElement.frameBorder".
  2507  //
  2508  // It returns ok=false if there is no such property.
  2509  func (this HTMLIFrameElement) FrameBorder() (ret js.String, ok bool) {
  2510  	ok = js.True == bindings.GetHTMLIFrameElementFrameBorder(
  2511  		this.ref, js.Pointer(&ret),
  2512  	)
  2513  	return
  2514  }
  2515  
  2516  // SetFrameBorder sets the value of property "HTMLIFrameElement.frameBorder" to val.
  2517  //
  2518  // It returns false if the property cannot be set.
  2519  func (this HTMLIFrameElement) SetFrameBorder(val js.String) bool {
  2520  	return js.True == bindings.SetHTMLIFrameElementFrameBorder(
  2521  		this.ref,
  2522  		val.Ref(),
  2523  	)
  2524  }
  2525  
  2526  // LongDesc returns the value of property "HTMLIFrameElement.longDesc".
  2527  //
  2528  // It returns ok=false if there is no such property.
  2529  func (this HTMLIFrameElement) LongDesc() (ret js.String, ok bool) {
  2530  	ok = js.True == bindings.GetHTMLIFrameElementLongDesc(
  2531  		this.ref, js.Pointer(&ret),
  2532  	)
  2533  	return
  2534  }
  2535  
  2536  // SetLongDesc sets the value of property "HTMLIFrameElement.longDesc" to val.
  2537  //
  2538  // It returns false if the property cannot be set.
  2539  func (this HTMLIFrameElement) SetLongDesc(val js.String) bool {
  2540  	return js.True == bindings.SetHTMLIFrameElementLongDesc(
  2541  		this.ref,
  2542  		val.Ref(),
  2543  	)
  2544  }
  2545  
  2546  // MarginHeight returns the value of property "HTMLIFrameElement.marginHeight".
  2547  //
  2548  // It returns ok=false if there is no such property.
  2549  func (this HTMLIFrameElement) MarginHeight() (ret js.String, ok bool) {
  2550  	ok = js.True == bindings.GetHTMLIFrameElementMarginHeight(
  2551  		this.ref, js.Pointer(&ret),
  2552  	)
  2553  	return
  2554  }
  2555  
  2556  // SetMarginHeight sets the value of property "HTMLIFrameElement.marginHeight" to val.
  2557  //
  2558  // It returns false if the property cannot be set.
  2559  func (this HTMLIFrameElement) SetMarginHeight(val js.String) bool {
  2560  	return js.True == bindings.SetHTMLIFrameElementMarginHeight(
  2561  		this.ref,
  2562  		val.Ref(),
  2563  	)
  2564  }
  2565  
  2566  // MarginWidth returns the value of property "HTMLIFrameElement.marginWidth".
  2567  //
  2568  // It returns ok=false if there is no such property.
  2569  func (this HTMLIFrameElement) MarginWidth() (ret js.String, ok bool) {
  2570  	ok = js.True == bindings.GetHTMLIFrameElementMarginWidth(
  2571  		this.ref, js.Pointer(&ret),
  2572  	)
  2573  	return
  2574  }
  2575  
  2576  // SetMarginWidth sets the value of property "HTMLIFrameElement.marginWidth" to val.
  2577  //
  2578  // It returns false if the property cannot be set.
  2579  func (this HTMLIFrameElement) SetMarginWidth(val js.String) bool {
  2580  	return js.True == bindings.SetHTMLIFrameElementMarginWidth(
  2581  		this.ref,
  2582  		val.Ref(),
  2583  	)
  2584  }
  2585  
  2586  // HasFuncGetSVGDocument returns true if the method "HTMLIFrameElement.getSVGDocument" exists.
  2587  func (this HTMLIFrameElement) HasFuncGetSVGDocument() bool {
  2588  	return js.True == bindings.HasFuncHTMLIFrameElementGetSVGDocument(
  2589  		this.ref,
  2590  	)
  2591  }
  2592  
  2593  // FuncGetSVGDocument returns the method "HTMLIFrameElement.getSVGDocument".
  2594  func (this HTMLIFrameElement) FuncGetSVGDocument() (fn js.Func[func() Document]) {
  2595  	bindings.FuncHTMLIFrameElementGetSVGDocument(
  2596  		this.ref, js.Pointer(&fn),
  2597  	)
  2598  	return
  2599  }
  2600  
  2601  // GetSVGDocument calls the method "HTMLIFrameElement.getSVGDocument".
  2602  func (this HTMLIFrameElement) GetSVGDocument() (ret Document) {
  2603  	bindings.CallHTMLIFrameElementGetSVGDocument(
  2604  		this.ref, js.Pointer(&ret),
  2605  	)
  2606  
  2607  	return
  2608  }
  2609  
  2610  // TryGetSVGDocument calls the method "HTMLIFrameElement.getSVGDocument"
  2611  // in a try/catch block and returns (_, err, ok = false) when it went through
  2612  // the catch clause.
  2613  func (this HTMLIFrameElement) TryGetSVGDocument() (ret Document, exception js.Any, ok bool) {
  2614  	ok = js.True == bindings.TryHTMLIFrameElementGetSVGDocument(
  2615  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2616  	)
  2617  
  2618  	return
  2619  }
  2620  
  2621  type SelectionMode uint32
  2622  
  2623  const (
  2624  	_ SelectionMode = iota
  2625  
  2626  	SelectionMode_SELECT
  2627  	SelectionMode_START
  2628  	SelectionMode_END
  2629  	SelectionMode_PRESERVE
  2630  )
  2631  
  2632  func (SelectionMode) FromRef(str js.Ref) SelectionMode {
  2633  	return SelectionMode(bindings.ConstOfSelectionMode(str))
  2634  }
  2635  
  2636  func (x SelectionMode) String() (string, bool) {
  2637  	switch x {
  2638  	case SelectionMode_SELECT:
  2639  		return "select", true
  2640  	case SelectionMode_START:
  2641  		return "start", true
  2642  	case SelectionMode_END:
  2643  		return "end", true
  2644  	case SelectionMode_PRESERVE:
  2645  		return "preserve", true
  2646  	default:
  2647  		return "", false
  2648  	}
  2649  }
  2650  
  2651  type HTMLInputElement struct {
  2652  	HTMLElement
  2653  }
  2654  
  2655  func (this HTMLInputElement) Once() HTMLInputElement {
  2656  	this.ref.Once()
  2657  	return this
  2658  }
  2659  
  2660  func (this HTMLInputElement) Ref() js.Ref {
  2661  	return this.HTMLElement.Ref()
  2662  }
  2663  
  2664  func (this HTMLInputElement) FromRef(ref js.Ref) HTMLInputElement {
  2665  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  2666  	return this
  2667  }
  2668  
  2669  func (this HTMLInputElement) Free() {
  2670  	this.ref.Free()
  2671  }
  2672  
  2673  // Accept returns the value of property "HTMLInputElement.accept".
  2674  //
  2675  // It returns ok=false if there is no such property.
  2676  func (this HTMLInputElement) Accept() (ret js.String, ok bool) {
  2677  	ok = js.True == bindings.GetHTMLInputElementAccept(
  2678  		this.ref, js.Pointer(&ret),
  2679  	)
  2680  	return
  2681  }
  2682  
  2683  // SetAccept sets the value of property "HTMLInputElement.accept" to val.
  2684  //
  2685  // It returns false if the property cannot be set.
  2686  func (this HTMLInputElement) SetAccept(val js.String) bool {
  2687  	return js.True == bindings.SetHTMLInputElementAccept(
  2688  		this.ref,
  2689  		val.Ref(),
  2690  	)
  2691  }
  2692  
  2693  // Alt returns the value of property "HTMLInputElement.alt".
  2694  //
  2695  // It returns ok=false if there is no such property.
  2696  func (this HTMLInputElement) Alt() (ret js.String, ok bool) {
  2697  	ok = js.True == bindings.GetHTMLInputElementAlt(
  2698  		this.ref, js.Pointer(&ret),
  2699  	)
  2700  	return
  2701  }
  2702  
  2703  // SetAlt sets the value of property "HTMLInputElement.alt" to val.
  2704  //
  2705  // It returns false if the property cannot be set.
  2706  func (this HTMLInputElement) SetAlt(val js.String) bool {
  2707  	return js.True == bindings.SetHTMLInputElementAlt(
  2708  		this.ref,
  2709  		val.Ref(),
  2710  	)
  2711  }
  2712  
  2713  // Autocomplete returns the value of property "HTMLInputElement.autocomplete".
  2714  //
  2715  // It returns ok=false if there is no such property.
  2716  func (this HTMLInputElement) Autocomplete() (ret js.String, ok bool) {
  2717  	ok = js.True == bindings.GetHTMLInputElementAutocomplete(
  2718  		this.ref, js.Pointer(&ret),
  2719  	)
  2720  	return
  2721  }
  2722  
  2723  // SetAutocomplete sets the value of property "HTMLInputElement.autocomplete" to val.
  2724  //
  2725  // It returns false if the property cannot be set.
  2726  func (this HTMLInputElement) SetAutocomplete(val js.String) bool {
  2727  	return js.True == bindings.SetHTMLInputElementAutocomplete(
  2728  		this.ref,
  2729  		val.Ref(),
  2730  	)
  2731  }
  2732  
  2733  // DefaultChecked returns the value of property "HTMLInputElement.defaultChecked".
  2734  //
  2735  // It returns ok=false if there is no such property.
  2736  func (this HTMLInputElement) DefaultChecked() (ret bool, ok bool) {
  2737  	ok = js.True == bindings.GetHTMLInputElementDefaultChecked(
  2738  		this.ref, js.Pointer(&ret),
  2739  	)
  2740  	return
  2741  }
  2742  
  2743  // SetDefaultChecked sets the value of property "HTMLInputElement.defaultChecked" to val.
  2744  //
  2745  // It returns false if the property cannot be set.
  2746  func (this HTMLInputElement) SetDefaultChecked(val bool) bool {
  2747  	return js.True == bindings.SetHTMLInputElementDefaultChecked(
  2748  		this.ref,
  2749  		js.Bool(bool(val)),
  2750  	)
  2751  }
  2752  
  2753  // Checked returns the value of property "HTMLInputElement.checked".
  2754  //
  2755  // It returns ok=false if there is no such property.
  2756  func (this HTMLInputElement) Checked() (ret bool, ok bool) {
  2757  	ok = js.True == bindings.GetHTMLInputElementChecked(
  2758  		this.ref, js.Pointer(&ret),
  2759  	)
  2760  	return
  2761  }
  2762  
  2763  // SetChecked sets the value of property "HTMLInputElement.checked" to val.
  2764  //
  2765  // It returns false if the property cannot be set.
  2766  func (this HTMLInputElement) SetChecked(val bool) bool {
  2767  	return js.True == bindings.SetHTMLInputElementChecked(
  2768  		this.ref,
  2769  		js.Bool(bool(val)),
  2770  	)
  2771  }
  2772  
  2773  // DirName returns the value of property "HTMLInputElement.dirName".
  2774  //
  2775  // It returns ok=false if there is no such property.
  2776  func (this HTMLInputElement) DirName() (ret js.String, ok bool) {
  2777  	ok = js.True == bindings.GetHTMLInputElementDirName(
  2778  		this.ref, js.Pointer(&ret),
  2779  	)
  2780  	return
  2781  }
  2782  
  2783  // SetDirName sets the value of property "HTMLInputElement.dirName" to val.
  2784  //
  2785  // It returns false if the property cannot be set.
  2786  func (this HTMLInputElement) SetDirName(val js.String) bool {
  2787  	return js.True == bindings.SetHTMLInputElementDirName(
  2788  		this.ref,
  2789  		val.Ref(),
  2790  	)
  2791  }
  2792  
  2793  // Disabled returns the value of property "HTMLInputElement.disabled".
  2794  //
  2795  // It returns ok=false if there is no such property.
  2796  func (this HTMLInputElement) Disabled() (ret bool, ok bool) {
  2797  	ok = js.True == bindings.GetHTMLInputElementDisabled(
  2798  		this.ref, js.Pointer(&ret),
  2799  	)
  2800  	return
  2801  }
  2802  
  2803  // SetDisabled sets the value of property "HTMLInputElement.disabled" to val.
  2804  //
  2805  // It returns false if the property cannot be set.
  2806  func (this HTMLInputElement) SetDisabled(val bool) bool {
  2807  	return js.True == bindings.SetHTMLInputElementDisabled(
  2808  		this.ref,
  2809  		js.Bool(bool(val)),
  2810  	)
  2811  }
  2812  
  2813  // Form returns the value of property "HTMLInputElement.form".
  2814  //
  2815  // It returns ok=false if there is no such property.
  2816  func (this HTMLInputElement) Form() (ret HTMLFormElement, ok bool) {
  2817  	ok = js.True == bindings.GetHTMLInputElementForm(
  2818  		this.ref, js.Pointer(&ret),
  2819  	)
  2820  	return
  2821  }
  2822  
  2823  // Files returns the value of property "HTMLInputElement.files".
  2824  //
  2825  // It returns ok=false if there is no such property.
  2826  func (this HTMLInputElement) Files() (ret FileList, ok bool) {
  2827  	ok = js.True == bindings.GetHTMLInputElementFiles(
  2828  		this.ref, js.Pointer(&ret),
  2829  	)
  2830  	return
  2831  }
  2832  
  2833  // SetFiles sets the value of property "HTMLInputElement.files" to val.
  2834  //
  2835  // It returns false if the property cannot be set.
  2836  func (this HTMLInputElement) SetFiles(val FileList) bool {
  2837  	return js.True == bindings.SetHTMLInputElementFiles(
  2838  		this.ref,
  2839  		val.Ref(),
  2840  	)
  2841  }
  2842  
  2843  // FormAction returns the value of property "HTMLInputElement.formAction".
  2844  //
  2845  // It returns ok=false if there is no such property.
  2846  func (this HTMLInputElement) FormAction() (ret js.String, ok bool) {
  2847  	ok = js.True == bindings.GetHTMLInputElementFormAction(
  2848  		this.ref, js.Pointer(&ret),
  2849  	)
  2850  	return
  2851  }
  2852  
  2853  // SetFormAction sets the value of property "HTMLInputElement.formAction" to val.
  2854  //
  2855  // It returns false if the property cannot be set.
  2856  func (this HTMLInputElement) SetFormAction(val js.String) bool {
  2857  	return js.True == bindings.SetHTMLInputElementFormAction(
  2858  		this.ref,
  2859  		val.Ref(),
  2860  	)
  2861  }
  2862  
  2863  // FormEnctype returns the value of property "HTMLInputElement.formEnctype".
  2864  //
  2865  // It returns ok=false if there is no such property.
  2866  func (this HTMLInputElement) FormEnctype() (ret js.String, ok bool) {
  2867  	ok = js.True == bindings.GetHTMLInputElementFormEnctype(
  2868  		this.ref, js.Pointer(&ret),
  2869  	)
  2870  	return
  2871  }
  2872  
  2873  // SetFormEnctype sets the value of property "HTMLInputElement.formEnctype" to val.
  2874  //
  2875  // It returns false if the property cannot be set.
  2876  func (this HTMLInputElement) SetFormEnctype(val js.String) bool {
  2877  	return js.True == bindings.SetHTMLInputElementFormEnctype(
  2878  		this.ref,
  2879  		val.Ref(),
  2880  	)
  2881  }
  2882  
  2883  // FormMethod returns the value of property "HTMLInputElement.formMethod".
  2884  //
  2885  // It returns ok=false if there is no such property.
  2886  func (this HTMLInputElement) FormMethod() (ret js.String, ok bool) {
  2887  	ok = js.True == bindings.GetHTMLInputElementFormMethod(
  2888  		this.ref, js.Pointer(&ret),
  2889  	)
  2890  	return
  2891  }
  2892  
  2893  // SetFormMethod sets the value of property "HTMLInputElement.formMethod" to val.
  2894  //
  2895  // It returns false if the property cannot be set.
  2896  func (this HTMLInputElement) SetFormMethod(val js.String) bool {
  2897  	return js.True == bindings.SetHTMLInputElementFormMethod(
  2898  		this.ref,
  2899  		val.Ref(),
  2900  	)
  2901  }
  2902  
  2903  // FormNoValidate returns the value of property "HTMLInputElement.formNoValidate".
  2904  //
  2905  // It returns ok=false if there is no such property.
  2906  func (this HTMLInputElement) FormNoValidate() (ret bool, ok bool) {
  2907  	ok = js.True == bindings.GetHTMLInputElementFormNoValidate(
  2908  		this.ref, js.Pointer(&ret),
  2909  	)
  2910  	return
  2911  }
  2912  
  2913  // SetFormNoValidate sets the value of property "HTMLInputElement.formNoValidate" to val.
  2914  //
  2915  // It returns false if the property cannot be set.
  2916  func (this HTMLInputElement) SetFormNoValidate(val bool) bool {
  2917  	return js.True == bindings.SetHTMLInputElementFormNoValidate(
  2918  		this.ref,
  2919  		js.Bool(bool(val)),
  2920  	)
  2921  }
  2922  
  2923  // FormTarget returns the value of property "HTMLInputElement.formTarget".
  2924  //
  2925  // It returns ok=false if there is no such property.
  2926  func (this HTMLInputElement) FormTarget() (ret js.String, ok bool) {
  2927  	ok = js.True == bindings.GetHTMLInputElementFormTarget(
  2928  		this.ref, js.Pointer(&ret),
  2929  	)
  2930  	return
  2931  }
  2932  
  2933  // SetFormTarget sets the value of property "HTMLInputElement.formTarget" to val.
  2934  //
  2935  // It returns false if the property cannot be set.
  2936  func (this HTMLInputElement) SetFormTarget(val js.String) bool {
  2937  	return js.True == bindings.SetHTMLInputElementFormTarget(
  2938  		this.ref,
  2939  		val.Ref(),
  2940  	)
  2941  }
  2942  
  2943  // Height returns the value of property "HTMLInputElement.height".
  2944  //
  2945  // It returns ok=false if there is no such property.
  2946  func (this HTMLInputElement) Height() (ret uint32, ok bool) {
  2947  	ok = js.True == bindings.GetHTMLInputElementHeight(
  2948  		this.ref, js.Pointer(&ret),
  2949  	)
  2950  	return
  2951  }
  2952  
  2953  // SetHeight sets the value of property "HTMLInputElement.height" to val.
  2954  //
  2955  // It returns false if the property cannot be set.
  2956  func (this HTMLInputElement) SetHeight(val uint32) bool {
  2957  	return js.True == bindings.SetHTMLInputElementHeight(
  2958  		this.ref,
  2959  		uint32(val),
  2960  	)
  2961  }
  2962  
  2963  // Indeterminate returns the value of property "HTMLInputElement.indeterminate".
  2964  //
  2965  // It returns ok=false if there is no such property.
  2966  func (this HTMLInputElement) Indeterminate() (ret bool, ok bool) {
  2967  	ok = js.True == bindings.GetHTMLInputElementIndeterminate(
  2968  		this.ref, js.Pointer(&ret),
  2969  	)
  2970  	return
  2971  }
  2972  
  2973  // SetIndeterminate sets the value of property "HTMLInputElement.indeterminate" to val.
  2974  //
  2975  // It returns false if the property cannot be set.
  2976  func (this HTMLInputElement) SetIndeterminate(val bool) bool {
  2977  	return js.True == bindings.SetHTMLInputElementIndeterminate(
  2978  		this.ref,
  2979  		js.Bool(bool(val)),
  2980  	)
  2981  }
  2982  
  2983  // List returns the value of property "HTMLInputElement.list".
  2984  //
  2985  // It returns ok=false if there is no such property.
  2986  func (this HTMLInputElement) List() (ret HTMLDataListElement, ok bool) {
  2987  	ok = js.True == bindings.GetHTMLInputElementList(
  2988  		this.ref, js.Pointer(&ret),
  2989  	)
  2990  	return
  2991  }
  2992  
  2993  // Max returns the value of property "HTMLInputElement.max".
  2994  //
  2995  // It returns ok=false if there is no such property.
  2996  func (this HTMLInputElement) Max() (ret js.String, ok bool) {
  2997  	ok = js.True == bindings.GetHTMLInputElementMax(
  2998  		this.ref, js.Pointer(&ret),
  2999  	)
  3000  	return
  3001  }
  3002  
  3003  // SetMax sets the value of property "HTMLInputElement.max" to val.
  3004  //
  3005  // It returns false if the property cannot be set.
  3006  func (this HTMLInputElement) SetMax(val js.String) bool {
  3007  	return js.True == bindings.SetHTMLInputElementMax(
  3008  		this.ref,
  3009  		val.Ref(),
  3010  	)
  3011  }
  3012  
  3013  // MaxLength returns the value of property "HTMLInputElement.maxLength".
  3014  //
  3015  // It returns ok=false if there is no such property.
  3016  func (this HTMLInputElement) MaxLength() (ret int32, ok bool) {
  3017  	ok = js.True == bindings.GetHTMLInputElementMaxLength(
  3018  		this.ref, js.Pointer(&ret),
  3019  	)
  3020  	return
  3021  }
  3022  
  3023  // SetMaxLength sets the value of property "HTMLInputElement.maxLength" to val.
  3024  //
  3025  // It returns false if the property cannot be set.
  3026  func (this HTMLInputElement) SetMaxLength(val int32) bool {
  3027  	return js.True == bindings.SetHTMLInputElementMaxLength(
  3028  		this.ref,
  3029  		int32(val),
  3030  	)
  3031  }
  3032  
  3033  // Min returns the value of property "HTMLInputElement.min".
  3034  //
  3035  // It returns ok=false if there is no such property.
  3036  func (this HTMLInputElement) Min() (ret js.String, ok bool) {
  3037  	ok = js.True == bindings.GetHTMLInputElementMin(
  3038  		this.ref, js.Pointer(&ret),
  3039  	)
  3040  	return
  3041  }
  3042  
  3043  // SetMin sets the value of property "HTMLInputElement.min" to val.
  3044  //
  3045  // It returns false if the property cannot be set.
  3046  func (this HTMLInputElement) SetMin(val js.String) bool {
  3047  	return js.True == bindings.SetHTMLInputElementMin(
  3048  		this.ref,
  3049  		val.Ref(),
  3050  	)
  3051  }
  3052  
  3053  // MinLength returns the value of property "HTMLInputElement.minLength".
  3054  //
  3055  // It returns ok=false if there is no such property.
  3056  func (this HTMLInputElement) MinLength() (ret int32, ok bool) {
  3057  	ok = js.True == bindings.GetHTMLInputElementMinLength(
  3058  		this.ref, js.Pointer(&ret),
  3059  	)
  3060  	return
  3061  }
  3062  
  3063  // SetMinLength sets the value of property "HTMLInputElement.minLength" to val.
  3064  //
  3065  // It returns false if the property cannot be set.
  3066  func (this HTMLInputElement) SetMinLength(val int32) bool {
  3067  	return js.True == bindings.SetHTMLInputElementMinLength(
  3068  		this.ref,
  3069  		int32(val),
  3070  	)
  3071  }
  3072  
  3073  // Multiple returns the value of property "HTMLInputElement.multiple".
  3074  //
  3075  // It returns ok=false if there is no such property.
  3076  func (this HTMLInputElement) Multiple() (ret bool, ok bool) {
  3077  	ok = js.True == bindings.GetHTMLInputElementMultiple(
  3078  		this.ref, js.Pointer(&ret),
  3079  	)
  3080  	return
  3081  }
  3082  
  3083  // SetMultiple sets the value of property "HTMLInputElement.multiple" to val.
  3084  //
  3085  // It returns false if the property cannot be set.
  3086  func (this HTMLInputElement) SetMultiple(val bool) bool {
  3087  	return js.True == bindings.SetHTMLInputElementMultiple(
  3088  		this.ref,
  3089  		js.Bool(bool(val)),
  3090  	)
  3091  }
  3092  
  3093  // Name returns the value of property "HTMLInputElement.name".
  3094  //
  3095  // It returns ok=false if there is no such property.
  3096  func (this HTMLInputElement) Name() (ret js.String, ok bool) {
  3097  	ok = js.True == bindings.GetHTMLInputElementName(
  3098  		this.ref, js.Pointer(&ret),
  3099  	)
  3100  	return
  3101  }
  3102  
  3103  // SetName sets the value of property "HTMLInputElement.name" to val.
  3104  //
  3105  // It returns false if the property cannot be set.
  3106  func (this HTMLInputElement) SetName(val js.String) bool {
  3107  	return js.True == bindings.SetHTMLInputElementName(
  3108  		this.ref,
  3109  		val.Ref(),
  3110  	)
  3111  }
  3112  
  3113  // Pattern returns the value of property "HTMLInputElement.pattern".
  3114  //
  3115  // It returns ok=false if there is no such property.
  3116  func (this HTMLInputElement) Pattern() (ret js.String, ok bool) {
  3117  	ok = js.True == bindings.GetHTMLInputElementPattern(
  3118  		this.ref, js.Pointer(&ret),
  3119  	)
  3120  	return
  3121  }
  3122  
  3123  // SetPattern sets the value of property "HTMLInputElement.pattern" to val.
  3124  //
  3125  // It returns false if the property cannot be set.
  3126  func (this HTMLInputElement) SetPattern(val js.String) bool {
  3127  	return js.True == bindings.SetHTMLInputElementPattern(
  3128  		this.ref,
  3129  		val.Ref(),
  3130  	)
  3131  }
  3132  
  3133  // Placeholder returns the value of property "HTMLInputElement.placeholder".
  3134  //
  3135  // It returns ok=false if there is no such property.
  3136  func (this HTMLInputElement) Placeholder() (ret js.String, ok bool) {
  3137  	ok = js.True == bindings.GetHTMLInputElementPlaceholder(
  3138  		this.ref, js.Pointer(&ret),
  3139  	)
  3140  	return
  3141  }
  3142  
  3143  // SetPlaceholder sets the value of property "HTMLInputElement.placeholder" to val.
  3144  //
  3145  // It returns false if the property cannot be set.
  3146  func (this HTMLInputElement) SetPlaceholder(val js.String) bool {
  3147  	return js.True == bindings.SetHTMLInputElementPlaceholder(
  3148  		this.ref,
  3149  		val.Ref(),
  3150  	)
  3151  }
  3152  
  3153  // ReadOnly returns the value of property "HTMLInputElement.readOnly".
  3154  //
  3155  // It returns ok=false if there is no such property.
  3156  func (this HTMLInputElement) ReadOnly() (ret bool, ok bool) {
  3157  	ok = js.True == bindings.GetHTMLInputElementReadOnly(
  3158  		this.ref, js.Pointer(&ret),
  3159  	)
  3160  	return
  3161  }
  3162  
  3163  // SetReadOnly sets the value of property "HTMLInputElement.readOnly" to val.
  3164  //
  3165  // It returns false if the property cannot be set.
  3166  func (this HTMLInputElement) SetReadOnly(val bool) bool {
  3167  	return js.True == bindings.SetHTMLInputElementReadOnly(
  3168  		this.ref,
  3169  		js.Bool(bool(val)),
  3170  	)
  3171  }
  3172  
  3173  // Required returns the value of property "HTMLInputElement.required".
  3174  //
  3175  // It returns ok=false if there is no such property.
  3176  func (this HTMLInputElement) Required() (ret bool, ok bool) {
  3177  	ok = js.True == bindings.GetHTMLInputElementRequired(
  3178  		this.ref, js.Pointer(&ret),
  3179  	)
  3180  	return
  3181  }
  3182  
  3183  // SetRequired sets the value of property "HTMLInputElement.required" to val.
  3184  //
  3185  // It returns false if the property cannot be set.
  3186  func (this HTMLInputElement) SetRequired(val bool) bool {
  3187  	return js.True == bindings.SetHTMLInputElementRequired(
  3188  		this.ref,
  3189  		js.Bool(bool(val)),
  3190  	)
  3191  }
  3192  
  3193  // Size returns the value of property "HTMLInputElement.size".
  3194  //
  3195  // It returns ok=false if there is no such property.
  3196  func (this HTMLInputElement) Size() (ret uint32, ok bool) {
  3197  	ok = js.True == bindings.GetHTMLInputElementSize(
  3198  		this.ref, js.Pointer(&ret),
  3199  	)
  3200  	return
  3201  }
  3202  
  3203  // SetSize sets the value of property "HTMLInputElement.size" to val.
  3204  //
  3205  // It returns false if the property cannot be set.
  3206  func (this HTMLInputElement) SetSize(val uint32) bool {
  3207  	return js.True == bindings.SetHTMLInputElementSize(
  3208  		this.ref,
  3209  		uint32(val),
  3210  	)
  3211  }
  3212  
  3213  // Src returns the value of property "HTMLInputElement.src".
  3214  //
  3215  // It returns ok=false if there is no such property.
  3216  func (this HTMLInputElement) Src() (ret js.String, ok bool) {
  3217  	ok = js.True == bindings.GetHTMLInputElementSrc(
  3218  		this.ref, js.Pointer(&ret),
  3219  	)
  3220  	return
  3221  }
  3222  
  3223  // SetSrc sets the value of property "HTMLInputElement.src" to val.
  3224  //
  3225  // It returns false if the property cannot be set.
  3226  func (this HTMLInputElement) SetSrc(val js.String) bool {
  3227  	return js.True == bindings.SetHTMLInputElementSrc(
  3228  		this.ref,
  3229  		val.Ref(),
  3230  	)
  3231  }
  3232  
  3233  // Step returns the value of property "HTMLInputElement.step".
  3234  //
  3235  // It returns ok=false if there is no such property.
  3236  func (this HTMLInputElement) Step() (ret js.String, ok bool) {
  3237  	ok = js.True == bindings.GetHTMLInputElementStep(
  3238  		this.ref, js.Pointer(&ret),
  3239  	)
  3240  	return
  3241  }
  3242  
  3243  // SetStep sets the value of property "HTMLInputElement.step" to val.
  3244  //
  3245  // It returns false if the property cannot be set.
  3246  func (this HTMLInputElement) SetStep(val js.String) bool {
  3247  	return js.True == bindings.SetHTMLInputElementStep(
  3248  		this.ref,
  3249  		val.Ref(),
  3250  	)
  3251  }
  3252  
  3253  // Type returns the value of property "HTMLInputElement.type".
  3254  //
  3255  // It returns ok=false if there is no such property.
  3256  func (this HTMLInputElement) Type() (ret js.String, ok bool) {
  3257  	ok = js.True == bindings.GetHTMLInputElementType(
  3258  		this.ref, js.Pointer(&ret),
  3259  	)
  3260  	return
  3261  }
  3262  
  3263  // SetType sets the value of property "HTMLInputElement.type" to val.
  3264  //
  3265  // It returns false if the property cannot be set.
  3266  func (this HTMLInputElement) SetType(val js.String) bool {
  3267  	return js.True == bindings.SetHTMLInputElementType(
  3268  		this.ref,
  3269  		val.Ref(),
  3270  	)
  3271  }
  3272  
  3273  // DefaultValue returns the value of property "HTMLInputElement.defaultValue".
  3274  //
  3275  // It returns ok=false if there is no such property.
  3276  func (this HTMLInputElement) DefaultValue() (ret js.String, ok bool) {
  3277  	ok = js.True == bindings.GetHTMLInputElementDefaultValue(
  3278  		this.ref, js.Pointer(&ret),
  3279  	)
  3280  	return
  3281  }
  3282  
  3283  // SetDefaultValue sets the value of property "HTMLInputElement.defaultValue" to val.
  3284  //
  3285  // It returns false if the property cannot be set.
  3286  func (this HTMLInputElement) SetDefaultValue(val js.String) bool {
  3287  	return js.True == bindings.SetHTMLInputElementDefaultValue(
  3288  		this.ref,
  3289  		val.Ref(),
  3290  	)
  3291  }
  3292  
  3293  // Value returns the value of property "HTMLInputElement.value".
  3294  //
  3295  // It returns ok=false if there is no such property.
  3296  func (this HTMLInputElement) Value() (ret js.String, ok bool) {
  3297  	ok = js.True == bindings.GetHTMLInputElementValue(
  3298  		this.ref, js.Pointer(&ret),
  3299  	)
  3300  	return
  3301  }
  3302  
  3303  // SetValue sets the value of property "HTMLInputElement.value" to val.
  3304  //
  3305  // It returns false if the property cannot be set.
  3306  func (this HTMLInputElement) SetValue(val js.String) bool {
  3307  	return js.True == bindings.SetHTMLInputElementValue(
  3308  		this.ref,
  3309  		val.Ref(),
  3310  	)
  3311  }
  3312  
  3313  // ValueAsDate returns the value of property "HTMLInputElement.valueAsDate".
  3314  //
  3315  // It returns ok=false if there is no such property.
  3316  func (this HTMLInputElement) ValueAsDate() (ret js.Object, ok bool) {
  3317  	ok = js.True == bindings.GetHTMLInputElementValueAsDate(
  3318  		this.ref, js.Pointer(&ret),
  3319  	)
  3320  	return
  3321  }
  3322  
  3323  // SetValueAsDate sets the value of property "HTMLInputElement.valueAsDate" to val.
  3324  //
  3325  // It returns false if the property cannot be set.
  3326  func (this HTMLInputElement) SetValueAsDate(val js.Object) bool {
  3327  	return js.True == bindings.SetHTMLInputElementValueAsDate(
  3328  		this.ref,
  3329  		val.Ref(),
  3330  	)
  3331  }
  3332  
  3333  // ValueAsNumber returns the value of property "HTMLInputElement.valueAsNumber".
  3334  //
  3335  // It returns ok=false if there is no such property.
  3336  func (this HTMLInputElement) ValueAsNumber() (ret float64, ok bool) {
  3337  	ok = js.True == bindings.GetHTMLInputElementValueAsNumber(
  3338  		this.ref, js.Pointer(&ret),
  3339  	)
  3340  	return
  3341  }
  3342  
  3343  // SetValueAsNumber sets the value of property "HTMLInputElement.valueAsNumber" to val.
  3344  //
  3345  // It returns false if the property cannot be set.
  3346  func (this HTMLInputElement) SetValueAsNumber(val float64) bool {
  3347  	return js.True == bindings.SetHTMLInputElementValueAsNumber(
  3348  		this.ref,
  3349  		float64(val),
  3350  	)
  3351  }
  3352  
  3353  // Width returns the value of property "HTMLInputElement.width".
  3354  //
  3355  // It returns ok=false if there is no such property.
  3356  func (this HTMLInputElement) Width() (ret uint32, ok bool) {
  3357  	ok = js.True == bindings.GetHTMLInputElementWidth(
  3358  		this.ref, js.Pointer(&ret),
  3359  	)
  3360  	return
  3361  }
  3362  
  3363  // SetWidth sets the value of property "HTMLInputElement.width" to val.
  3364  //
  3365  // It returns false if the property cannot be set.
  3366  func (this HTMLInputElement) SetWidth(val uint32) bool {
  3367  	return js.True == bindings.SetHTMLInputElementWidth(
  3368  		this.ref,
  3369  		uint32(val),
  3370  	)
  3371  }
  3372  
  3373  // WillValidate returns the value of property "HTMLInputElement.willValidate".
  3374  //
  3375  // It returns ok=false if there is no such property.
  3376  func (this HTMLInputElement) WillValidate() (ret bool, ok bool) {
  3377  	ok = js.True == bindings.GetHTMLInputElementWillValidate(
  3378  		this.ref, js.Pointer(&ret),
  3379  	)
  3380  	return
  3381  }
  3382  
  3383  // Validity returns the value of property "HTMLInputElement.validity".
  3384  //
  3385  // It returns ok=false if there is no such property.
  3386  func (this HTMLInputElement) Validity() (ret ValidityState, ok bool) {
  3387  	ok = js.True == bindings.GetHTMLInputElementValidity(
  3388  		this.ref, js.Pointer(&ret),
  3389  	)
  3390  	return
  3391  }
  3392  
  3393  // ValidationMessage returns the value of property "HTMLInputElement.validationMessage".
  3394  //
  3395  // It returns ok=false if there is no such property.
  3396  func (this HTMLInputElement) ValidationMessage() (ret js.String, ok bool) {
  3397  	ok = js.True == bindings.GetHTMLInputElementValidationMessage(
  3398  		this.ref, js.Pointer(&ret),
  3399  	)
  3400  	return
  3401  }
  3402  
  3403  // Labels returns the value of property "HTMLInputElement.labels".
  3404  //
  3405  // It returns ok=false if there is no such property.
  3406  func (this HTMLInputElement) Labels() (ret NodeList, ok bool) {
  3407  	ok = js.True == bindings.GetHTMLInputElementLabels(
  3408  		this.ref, js.Pointer(&ret),
  3409  	)
  3410  	return
  3411  }
  3412  
  3413  // SelectionStart returns the value of property "HTMLInputElement.selectionStart".
  3414  //
  3415  // It returns ok=false if there is no such property.
  3416  func (this HTMLInputElement) SelectionStart() (ret uint32, ok bool) {
  3417  	ok = js.True == bindings.GetHTMLInputElementSelectionStart(
  3418  		this.ref, js.Pointer(&ret),
  3419  	)
  3420  	return
  3421  }
  3422  
  3423  // SetSelectionStart sets the value of property "HTMLInputElement.selectionStart" to val.
  3424  //
  3425  // It returns false if the property cannot be set.
  3426  func (this HTMLInputElement) SetSelectionStart(val uint32) bool {
  3427  	return js.True == bindings.SetHTMLInputElementSelectionStart(
  3428  		this.ref,
  3429  		uint32(val),
  3430  	)
  3431  }
  3432  
  3433  // SelectionEnd returns the value of property "HTMLInputElement.selectionEnd".
  3434  //
  3435  // It returns ok=false if there is no such property.
  3436  func (this HTMLInputElement) SelectionEnd() (ret uint32, ok bool) {
  3437  	ok = js.True == bindings.GetHTMLInputElementSelectionEnd(
  3438  		this.ref, js.Pointer(&ret),
  3439  	)
  3440  	return
  3441  }
  3442  
  3443  // SetSelectionEnd sets the value of property "HTMLInputElement.selectionEnd" to val.
  3444  //
  3445  // It returns false if the property cannot be set.
  3446  func (this HTMLInputElement) SetSelectionEnd(val uint32) bool {
  3447  	return js.True == bindings.SetHTMLInputElementSelectionEnd(
  3448  		this.ref,
  3449  		uint32(val),
  3450  	)
  3451  }
  3452  
  3453  // SelectionDirection returns the value of property "HTMLInputElement.selectionDirection".
  3454  //
  3455  // It returns ok=false if there is no such property.
  3456  func (this HTMLInputElement) SelectionDirection() (ret js.String, ok bool) {
  3457  	ok = js.True == bindings.GetHTMLInputElementSelectionDirection(
  3458  		this.ref, js.Pointer(&ret),
  3459  	)
  3460  	return
  3461  }
  3462  
  3463  // SetSelectionDirection sets the value of property "HTMLInputElement.selectionDirection" to val.
  3464  //
  3465  // It returns false if the property cannot be set.
  3466  func (this HTMLInputElement) SetSelectionDirection(val js.String) bool {
  3467  	return js.True == bindings.SetHTMLInputElementSelectionDirection(
  3468  		this.ref,
  3469  		val.Ref(),
  3470  	)
  3471  }
  3472  
  3473  // Align returns the value of property "HTMLInputElement.align".
  3474  //
  3475  // It returns ok=false if there is no such property.
  3476  func (this HTMLInputElement) Align() (ret js.String, ok bool) {
  3477  	ok = js.True == bindings.GetHTMLInputElementAlign(
  3478  		this.ref, js.Pointer(&ret),
  3479  	)
  3480  	return
  3481  }
  3482  
  3483  // SetAlign sets the value of property "HTMLInputElement.align" to val.
  3484  //
  3485  // It returns false if the property cannot be set.
  3486  func (this HTMLInputElement) SetAlign(val js.String) bool {
  3487  	return js.True == bindings.SetHTMLInputElementAlign(
  3488  		this.ref,
  3489  		val.Ref(),
  3490  	)
  3491  }
  3492  
  3493  // UseMap returns the value of property "HTMLInputElement.useMap".
  3494  //
  3495  // It returns ok=false if there is no such property.
  3496  func (this HTMLInputElement) UseMap() (ret js.String, ok bool) {
  3497  	ok = js.True == bindings.GetHTMLInputElementUseMap(
  3498  		this.ref, js.Pointer(&ret),
  3499  	)
  3500  	return
  3501  }
  3502  
  3503  // SetUseMap sets the value of property "HTMLInputElement.useMap" to val.
  3504  //
  3505  // It returns false if the property cannot be set.
  3506  func (this HTMLInputElement) SetUseMap(val js.String) bool {
  3507  	return js.True == bindings.SetHTMLInputElementUseMap(
  3508  		this.ref,
  3509  		val.Ref(),
  3510  	)
  3511  }
  3512  
  3513  // Webkitdirectory returns the value of property "HTMLInputElement.webkitdirectory".
  3514  //
  3515  // It returns ok=false if there is no such property.
  3516  func (this HTMLInputElement) Webkitdirectory() (ret bool, ok bool) {
  3517  	ok = js.True == bindings.GetHTMLInputElementWebkitdirectory(
  3518  		this.ref, js.Pointer(&ret),
  3519  	)
  3520  	return
  3521  }
  3522  
  3523  // SetWebkitdirectory sets the value of property "HTMLInputElement.webkitdirectory" to val.
  3524  //
  3525  // It returns false if the property cannot be set.
  3526  func (this HTMLInputElement) SetWebkitdirectory(val bool) bool {
  3527  	return js.True == bindings.SetHTMLInputElementWebkitdirectory(
  3528  		this.ref,
  3529  		js.Bool(bool(val)),
  3530  	)
  3531  }
  3532  
  3533  // WebkitEntries returns the value of property "HTMLInputElement.webkitEntries".
  3534  //
  3535  // It returns ok=false if there is no such property.
  3536  func (this HTMLInputElement) WebkitEntries() (ret js.FrozenArray[FileSystemEntry], ok bool) {
  3537  	ok = js.True == bindings.GetHTMLInputElementWebkitEntries(
  3538  		this.ref, js.Pointer(&ret),
  3539  	)
  3540  	return
  3541  }
  3542  
  3543  // Capture returns the value of property "HTMLInputElement.capture".
  3544  //
  3545  // It returns ok=false if there is no such property.
  3546  func (this HTMLInputElement) Capture() (ret js.String, ok bool) {
  3547  	ok = js.True == bindings.GetHTMLInputElementCapture(
  3548  		this.ref, js.Pointer(&ret),
  3549  	)
  3550  	return
  3551  }
  3552  
  3553  // SetCapture sets the value of property "HTMLInputElement.capture" to val.
  3554  //
  3555  // It returns false if the property cannot be set.
  3556  func (this HTMLInputElement) SetCapture(val js.String) bool {
  3557  	return js.True == bindings.SetHTMLInputElementCapture(
  3558  		this.ref,
  3559  		val.Ref(),
  3560  	)
  3561  }
  3562  
  3563  // PopoverTargetElement returns the value of property "HTMLInputElement.popoverTargetElement".
  3564  //
  3565  // It returns ok=false if there is no such property.
  3566  func (this HTMLInputElement) PopoverTargetElement() (ret Element, ok bool) {
  3567  	ok = js.True == bindings.GetHTMLInputElementPopoverTargetElement(
  3568  		this.ref, js.Pointer(&ret),
  3569  	)
  3570  	return
  3571  }
  3572  
  3573  // SetPopoverTargetElement sets the value of property "HTMLInputElement.popoverTargetElement" to val.
  3574  //
  3575  // It returns false if the property cannot be set.
  3576  func (this HTMLInputElement) SetPopoverTargetElement(val Element) bool {
  3577  	return js.True == bindings.SetHTMLInputElementPopoverTargetElement(
  3578  		this.ref,
  3579  		val.Ref(),
  3580  	)
  3581  }
  3582  
  3583  // PopoverTargetAction returns the value of property "HTMLInputElement.popoverTargetAction".
  3584  //
  3585  // It returns ok=false if there is no such property.
  3586  func (this HTMLInputElement) PopoverTargetAction() (ret js.String, ok bool) {
  3587  	ok = js.True == bindings.GetHTMLInputElementPopoverTargetAction(
  3588  		this.ref, js.Pointer(&ret),
  3589  	)
  3590  	return
  3591  }
  3592  
  3593  // SetPopoverTargetAction sets the value of property "HTMLInputElement.popoverTargetAction" to val.
  3594  //
  3595  // It returns false if the property cannot be set.
  3596  func (this HTMLInputElement) SetPopoverTargetAction(val js.String) bool {
  3597  	return js.True == bindings.SetHTMLInputElementPopoverTargetAction(
  3598  		this.ref,
  3599  		val.Ref(),
  3600  	)
  3601  }
  3602  
  3603  // HasFuncStepUp returns true if the method "HTMLInputElement.stepUp" exists.
  3604  func (this HTMLInputElement) HasFuncStepUp() bool {
  3605  	return js.True == bindings.HasFuncHTMLInputElementStepUp(
  3606  		this.ref,
  3607  	)
  3608  }
  3609  
  3610  // FuncStepUp returns the method "HTMLInputElement.stepUp".
  3611  func (this HTMLInputElement) FuncStepUp() (fn js.Func[func(n int32)]) {
  3612  	bindings.FuncHTMLInputElementStepUp(
  3613  		this.ref, js.Pointer(&fn),
  3614  	)
  3615  	return
  3616  }
  3617  
  3618  // StepUp calls the method "HTMLInputElement.stepUp".
  3619  func (this HTMLInputElement) StepUp(n int32) (ret js.Void) {
  3620  	bindings.CallHTMLInputElementStepUp(
  3621  		this.ref, js.Pointer(&ret),
  3622  		int32(n),
  3623  	)
  3624  
  3625  	return
  3626  }
  3627  
  3628  // TryStepUp calls the method "HTMLInputElement.stepUp"
  3629  // in a try/catch block and returns (_, err, ok = false) when it went through
  3630  // the catch clause.
  3631  func (this HTMLInputElement) TryStepUp(n int32) (ret js.Void, exception js.Any, ok bool) {
  3632  	ok = js.True == bindings.TryHTMLInputElementStepUp(
  3633  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3634  		int32(n),
  3635  	)
  3636  
  3637  	return
  3638  }
  3639  
  3640  // HasFuncStepUp1 returns true if the method "HTMLInputElement.stepUp" exists.
  3641  func (this HTMLInputElement) HasFuncStepUp1() bool {
  3642  	return js.True == bindings.HasFuncHTMLInputElementStepUp1(
  3643  		this.ref,
  3644  	)
  3645  }
  3646  
  3647  // FuncStepUp1 returns the method "HTMLInputElement.stepUp".
  3648  func (this HTMLInputElement) FuncStepUp1() (fn js.Func[func()]) {
  3649  	bindings.FuncHTMLInputElementStepUp1(
  3650  		this.ref, js.Pointer(&fn),
  3651  	)
  3652  	return
  3653  }
  3654  
  3655  // StepUp1 calls the method "HTMLInputElement.stepUp".
  3656  func (this HTMLInputElement) StepUp1() (ret js.Void) {
  3657  	bindings.CallHTMLInputElementStepUp1(
  3658  		this.ref, js.Pointer(&ret),
  3659  	)
  3660  
  3661  	return
  3662  }
  3663  
  3664  // TryStepUp1 calls the method "HTMLInputElement.stepUp"
  3665  // in a try/catch block and returns (_, err, ok = false) when it went through
  3666  // the catch clause.
  3667  func (this HTMLInputElement) TryStepUp1() (ret js.Void, exception js.Any, ok bool) {
  3668  	ok = js.True == bindings.TryHTMLInputElementStepUp1(
  3669  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3670  	)
  3671  
  3672  	return
  3673  }
  3674  
  3675  // HasFuncStepDown returns true if the method "HTMLInputElement.stepDown" exists.
  3676  func (this HTMLInputElement) HasFuncStepDown() bool {
  3677  	return js.True == bindings.HasFuncHTMLInputElementStepDown(
  3678  		this.ref,
  3679  	)
  3680  }
  3681  
  3682  // FuncStepDown returns the method "HTMLInputElement.stepDown".
  3683  func (this HTMLInputElement) FuncStepDown() (fn js.Func[func(n int32)]) {
  3684  	bindings.FuncHTMLInputElementStepDown(
  3685  		this.ref, js.Pointer(&fn),
  3686  	)
  3687  	return
  3688  }
  3689  
  3690  // StepDown calls the method "HTMLInputElement.stepDown".
  3691  func (this HTMLInputElement) StepDown(n int32) (ret js.Void) {
  3692  	bindings.CallHTMLInputElementStepDown(
  3693  		this.ref, js.Pointer(&ret),
  3694  		int32(n),
  3695  	)
  3696  
  3697  	return
  3698  }
  3699  
  3700  // TryStepDown calls the method "HTMLInputElement.stepDown"
  3701  // in a try/catch block and returns (_, err, ok = false) when it went through
  3702  // the catch clause.
  3703  func (this HTMLInputElement) TryStepDown(n int32) (ret js.Void, exception js.Any, ok bool) {
  3704  	ok = js.True == bindings.TryHTMLInputElementStepDown(
  3705  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3706  		int32(n),
  3707  	)
  3708  
  3709  	return
  3710  }
  3711  
  3712  // HasFuncStepDown1 returns true if the method "HTMLInputElement.stepDown" exists.
  3713  func (this HTMLInputElement) HasFuncStepDown1() bool {
  3714  	return js.True == bindings.HasFuncHTMLInputElementStepDown1(
  3715  		this.ref,
  3716  	)
  3717  }
  3718  
  3719  // FuncStepDown1 returns the method "HTMLInputElement.stepDown".
  3720  func (this HTMLInputElement) FuncStepDown1() (fn js.Func[func()]) {
  3721  	bindings.FuncHTMLInputElementStepDown1(
  3722  		this.ref, js.Pointer(&fn),
  3723  	)
  3724  	return
  3725  }
  3726  
  3727  // StepDown1 calls the method "HTMLInputElement.stepDown".
  3728  func (this HTMLInputElement) StepDown1() (ret js.Void) {
  3729  	bindings.CallHTMLInputElementStepDown1(
  3730  		this.ref, js.Pointer(&ret),
  3731  	)
  3732  
  3733  	return
  3734  }
  3735  
  3736  // TryStepDown1 calls the method "HTMLInputElement.stepDown"
  3737  // in a try/catch block and returns (_, err, ok = false) when it went through
  3738  // the catch clause.
  3739  func (this HTMLInputElement) TryStepDown1() (ret js.Void, exception js.Any, ok bool) {
  3740  	ok = js.True == bindings.TryHTMLInputElementStepDown1(
  3741  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3742  	)
  3743  
  3744  	return
  3745  }
  3746  
  3747  // HasFuncCheckValidity returns true if the method "HTMLInputElement.checkValidity" exists.
  3748  func (this HTMLInputElement) HasFuncCheckValidity() bool {
  3749  	return js.True == bindings.HasFuncHTMLInputElementCheckValidity(
  3750  		this.ref,
  3751  	)
  3752  }
  3753  
  3754  // FuncCheckValidity returns the method "HTMLInputElement.checkValidity".
  3755  func (this HTMLInputElement) FuncCheckValidity() (fn js.Func[func() bool]) {
  3756  	bindings.FuncHTMLInputElementCheckValidity(
  3757  		this.ref, js.Pointer(&fn),
  3758  	)
  3759  	return
  3760  }
  3761  
  3762  // CheckValidity calls the method "HTMLInputElement.checkValidity".
  3763  func (this HTMLInputElement) CheckValidity() (ret bool) {
  3764  	bindings.CallHTMLInputElementCheckValidity(
  3765  		this.ref, js.Pointer(&ret),
  3766  	)
  3767  
  3768  	return
  3769  }
  3770  
  3771  // TryCheckValidity calls the method "HTMLInputElement.checkValidity"
  3772  // in a try/catch block and returns (_, err, ok = false) when it went through
  3773  // the catch clause.
  3774  func (this HTMLInputElement) TryCheckValidity() (ret bool, exception js.Any, ok bool) {
  3775  	ok = js.True == bindings.TryHTMLInputElementCheckValidity(
  3776  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3777  	)
  3778  
  3779  	return
  3780  }
  3781  
  3782  // HasFuncReportValidity returns true if the method "HTMLInputElement.reportValidity" exists.
  3783  func (this HTMLInputElement) HasFuncReportValidity() bool {
  3784  	return js.True == bindings.HasFuncHTMLInputElementReportValidity(
  3785  		this.ref,
  3786  	)
  3787  }
  3788  
  3789  // FuncReportValidity returns the method "HTMLInputElement.reportValidity".
  3790  func (this HTMLInputElement) FuncReportValidity() (fn js.Func[func() bool]) {
  3791  	bindings.FuncHTMLInputElementReportValidity(
  3792  		this.ref, js.Pointer(&fn),
  3793  	)
  3794  	return
  3795  }
  3796  
  3797  // ReportValidity calls the method "HTMLInputElement.reportValidity".
  3798  func (this HTMLInputElement) ReportValidity() (ret bool) {
  3799  	bindings.CallHTMLInputElementReportValidity(
  3800  		this.ref, js.Pointer(&ret),
  3801  	)
  3802  
  3803  	return
  3804  }
  3805  
  3806  // TryReportValidity calls the method "HTMLInputElement.reportValidity"
  3807  // in a try/catch block and returns (_, err, ok = false) when it went through
  3808  // the catch clause.
  3809  func (this HTMLInputElement) TryReportValidity() (ret bool, exception js.Any, ok bool) {
  3810  	ok = js.True == bindings.TryHTMLInputElementReportValidity(
  3811  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3812  	)
  3813  
  3814  	return
  3815  }
  3816  
  3817  // HasFuncSetCustomValidity returns true if the method "HTMLInputElement.setCustomValidity" exists.
  3818  func (this HTMLInputElement) HasFuncSetCustomValidity() bool {
  3819  	return js.True == bindings.HasFuncHTMLInputElementSetCustomValidity(
  3820  		this.ref,
  3821  	)
  3822  }
  3823  
  3824  // FuncSetCustomValidity returns the method "HTMLInputElement.setCustomValidity".
  3825  func (this HTMLInputElement) FuncSetCustomValidity() (fn js.Func[func(err js.String)]) {
  3826  	bindings.FuncHTMLInputElementSetCustomValidity(
  3827  		this.ref, js.Pointer(&fn),
  3828  	)
  3829  	return
  3830  }
  3831  
  3832  // SetCustomValidity calls the method "HTMLInputElement.setCustomValidity".
  3833  func (this HTMLInputElement) SetCustomValidity(err js.String) (ret js.Void) {
  3834  	bindings.CallHTMLInputElementSetCustomValidity(
  3835  		this.ref, js.Pointer(&ret),
  3836  		err.Ref(),
  3837  	)
  3838  
  3839  	return
  3840  }
  3841  
  3842  // TrySetCustomValidity calls the method "HTMLInputElement.setCustomValidity"
  3843  // in a try/catch block and returns (_, err, ok = false) when it went through
  3844  // the catch clause.
  3845  func (this HTMLInputElement) TrySetCustomValidity(err js.String) (ret js.Void, exception js.Any, ok bool) {
  3846  	ok = js.True == bindings.TryHTMLInputElementSetCustomValidity(
  3847  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3848  		err.Ref(),
  3849  	)
  3850  
  3851  	return
  3852  }
  3853  
  3854  // HasFuncSelect returns true if the method "HTMLInputElement.select" exists.
  3855  func (this HTMLInputElement) HasFuncSelect() bool {
  3856  	return js.True == bindings.HasFuncHTMLInputElementSelect(
  3857  		this.ref,
  3858  	)
  3859  }
  3860  
  3861  // FuncSelect returns the method "HTMLInputElement.select".
  3862  func (this HTMLInputElement) FuncSelect() (fn js.Func[func()]) {
  3863  	bindings.FuncHTMLInputElementSelect(
  3864  		this.ref, js.Pointer(&fn),
  3865  	)
  3866  	return
  3867  }
  3868  
  3869  // Select calls the method "HTMLInputElement.select".
  3870  func (this HTMLInputElement) Select() (ret js.Void) {
  3871  	bindings.CallHTMLInputElementSelect(
  3872  		this.ref, js.Pointer(&ret),
  3873  	)
  3874  
  3875  	return
  3876  }
  3877  
  3878  // TrySelect calls the method "HTMLInputElement.select"
  3879  // in a try/catch block and returns (_, err, ok = false) when it went through
  3880  // the catch clause.
  3881  func (this HTMLInputElement) TrySelect() (ret js.Void, exception js.Any, ok bool) {
  3882  	ok = js.True == bindings.TryHTMLInputElementSelect(
  3883  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3884  	)
  3885  
  3886  	return
  3887  }
  3888  
  3889  // HasFuncSetRangeText returns true if the method "HTMLInputElement.setRangeText" exists.
  3890  func (this HTMLInputElement) HasFuncSetRangeText() bool {
  3891  	return js.True == bindings.HasFuncHTMLInputElementSetRangeText(
  3892  		this.ref,
  3893  	)
  3894  }
  3895  
  3896  // FuncSetRangeText returns the method "HTMLInputElement.setRangeText".
  3897  func (this HTMLInputElement) FuncSetRangeText() (fn js.Func[func(replacement js.String)]) {
  3898  	bindings.FuncHTMLInputElementSetRangeText(
  3899  		this.ref, js.Pointer(&fn),
  3900  	)
  3901  	return
  3902  }
  3903  
  3904  // SetRangeText calls the method "HTMLInputElement.setRangeText".
  3905  func (this HTMLInputElement) SetRangeText(replacement js.String) (ret js.Void) {
  3906  	bindings.CallHTMLInputElementSetRangeText(
  3907  		this.ref, js.Pointer(&ret),
  3908  		replacement.Ref(),
  3909  	)
  3910  
  3911  	return
  3912  }
  3913  
  3914  // TrySetRangeText calls the method "HTMLInputElement.setRangeText"
  3915  // in a try/catch block and returns (_, err, ok = false) when it went through
  3916  // the catch clause.
  3917  func (this HTMLInputElement) TrySetRangeText(replacement js.String) (ret js.Void, exception js.Any, ok bool) {
  3918  	ok = js.True == bindings.TryHTMLInputElementSetRangeText(
  3919  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3920  		replacement.Ref(),
  3921  	)
  3922  
  3923  	return
  3924  }
  3925  
  3926  // HasFuncSetRangeText1 returns true if the method "HTMLInputElement.setRangeText" exists.
  3927  func (this HTMLInputElement) HasFuncSetRangeText1() bool {
  3928  	return js.True == bindings.HasFuncHTMLInputElementSetRangeText1(
  3929  		this.ref,
  3930  	)
  3931  }
  3932  
  3933  // FuncSetRangeText1 returns the method "HTMLInputElement.setRangeText".
  3934  func (this HTMLInputElement) FuncSetRangeText1() (fn js.Func[func(replacement js.String, start uint32, end uint32, selectionMode SelectionMode)]) {
  3935  	bindings.FuncHTMLInputElementSetRangeText1(
  3936  		this.ref, js.Pointer(&fn),
  3937  	)
  3938  	return
  3939  }
  3940  
  3941  // SetRangeText1 calls the method "HTMLInputElement.setRangeText".
  3942  func (this HTMLInputElement) SetRangeText1(replacement js.String, start uint32, end uint32, selectionMode SelectionMode) (ret js.Void) {
  3943  	bindings.CallHTMLInputElementSetRangeText1(
  3944  		this.ref, js.Pointer(&ret),
  3945  		replacement.Ref(),
  3946  		uint32(start),
  3947  		uint32(end),
  3948  		uint32(selectionMode),
  3949  	)
  3950  
  3951  	return
  3952  }
  3953  
  3954  // TrySetRangeText1 calls the method "HTMLInputElement.setRangeText"
  3955  // in a try/catch block and returns (_, err, ok = false) when it went through
  3956  // the catch clause.
  3957  func (this HTMLInputElement) TrySetRangeText1(replacement js.String, start uint32, end uint32, selectionMode SelectionMode) (ret js.Void, exception js.Any, ok bool) {
  3958  	ok = js.True == bindings.TryHTMLInputElementSetRangeText1(
  3959  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3960  		replacement.Ref(),
  3961  		uint32(start),
  3962  		uint32(end),
  3963  		uint32(selectionMode),
  3964  	)
  3965  
  3966  	return
  3967  }
  3968  
  3969  // HasFuncSetRangeText2 returns true if the method "HTMLInputElement.setRangeText" exists.
  3970  func (this HTMLInputElement) HasFuncSetRangeText2() bool {
  3971  	return js.True == bindings.HasFuncHTMLInputElementSetRangeText2(
  3972  		this.ref,
  3973  	)
  3974  }
  3975  
  3976  // FuncSetRangeText2 returns the method "HTMLInputElement.setRangeText".
  3977  func (this HTMLInputElement) FuncSetRangeText2() (fn js.Func[func(replacement js.String, start uint32, end uint32)]) {
  3978  	bindings.FuncHTMLInputElementSetRangeText2(
  3979  		this.ref, js.Pointer(&fn),
  3980  	)
  3981  	return
  3982  }
  3983  
  3984  // SetRangeText2 calls the method "HTMLInputElement.setRangeText".
  3985  func (this HTMLInputElement) SetRangeText2(replacement js.String, start uint32, end uint32) (ret js.Void) {
  3986  	bindings.CallHTMLInputElementSetRangeText2(
  3987  		this.ref, js.Pointer(&ret),
  3988  		replacement.Ref(),
  3989  		uint32(start),
  3990  		uint32(end),
  3991  	)
  3992  
  3993  	return
  3994  }
  3995  
  3996  // TrySetRangeText2 calls the method "HTMLInputElement.setRangeText"
  3997  // in a try/catch block and returns (_, err, ok = false) when it went through
  3998  // the catch clause.
  3999  func (this HTMLInputElement) TrySetRangeText2(replacement js.String, start uint32, end uint32) (ret js.Void, exception js.Any, ok bool) {
  4000  	ok = js.True == bindings.TryHTMLInputElementSetRangeText2(
  4001  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4002  		replacement.Ref(),
  4003  		uint32(start),
  4004  		uint32(end),
  4005  	)
  4006  
  4007  	return
  4008  }
  4009  
  4010  // HasFuncSetSelectionRange returns true if the method "HTMLInputElement.setSelectionRange" exists.
  4011  func (this HTMLInputElement) HasFuncSetSelectionRange() bool {
  4012  	return js.True == bindings.HasFuncHTMLInputElementSetSelectionRange(
  4013  		this.ref,
  4014  	)
  4015  }
  4016  
  4017  // FuncSetSelectionRange returns the method "HTMLInputElement.setSelectionRange".
  4018  func (this HTMLInputElement) FuncSetSelectionRange() (fn js.Func[func(start uint32, end uint32, direction js.String)]) {
  4019  	bindings.FuncHTMLInputElementSetSelectionRange(
  4020  		this.ref, js.Pointer(&fn),
  4021  	)
  4022  	return
  4023  }
  4024  
  4025  // SetSelectionRange calls the method "HTMLInputElement.setSelectionRange".
  4026  func (this HTMLInputElement) SetSelectionRange(start uint32, end uint32, direction js.String) (ret js.Void) {
  4027  	bindings.CallHTMLInputElementSetSelectionRange(
  4028  		this.ref, js.Pointer(&ret),
  4029  		uint32(start),
  4030  		uint32(end),
  4031  		direction.Ref(),
  4032  	)
  4033  
  4034  	return
  4035  }
  4036  
  4037  // TrySetSelectionRange calls the method "HTMLInputElement.setSelectionRange"
  4038  // in a try/catch block and returns (_, err, ok = false) when it went through
  4039  // the catch clause.
  4040  func (this HTMLInputElement) TrySetSelectionRange(start uint32, end uint32, direction js.String) (ret js.Void, exception js.Any, ok bool) {
  4041  	ok = js.True == bindings.TryHTMLInputElementSetSelectionRange(
  4042  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4043  		uint32(start),
  4044  		uint32(end),
  4045  		direction.Ref(),
  4046  	)
  4047  
  4048  	return
  4049  }
  4050  
  4051  // HasFuncSetSelectionRange1 returns true if the method "HTMLInputElement.setSelectionRange" exists.
  4052  func (this HTMLInputElement) HasFuncSetSelectionRange1() bool {
  4053  	return js.True == bindings.HasFuncHTMLInputElementSetSelectionRange1(
  4054  		this.ref,
  4055  	)
  4056  }
  4057  
  4058  // FuncSetSelectionRange1 returns the method "HTMLInputElement.setSelectionRange".
  4059  func (this HTMLInputElement) FuncSetSelectionRange1() (fn js.Func[func(start uint32, end uint32)]) {
  4060  	bindings.FuncHTMLInputElementSetSelectionRange1(
  4061  		this.ref, js.Pointer(&fn),
  4062  	)
  4063  	return
  4064  }
  4065  
  4066  // SetSelectionRange1 calls the method "HTMLInputElement.setSelectionRange".
  4067  func (this HTMLInputElement) SetSelectionRange1(start uint32, end uint32) (ret js.Void) {
  4068  	bindings.CallHTMLInputElementSetSelectionRange1(
  4069  		this.ref, js.Pointer(&ret),
  4070  		uint32(start),
  4071  		uint32(end),
  4072  	)
  4073  
  4074  	return
  4075  }
  4076  
  4077  // TrySetSelectionRange1 calls the method "HTMLInputElement.setSelectionRange"
  4078  // in a try/catch block and returns (_, err, ok = false) when it went through
  4079  // the catch clause.
  4080  func (this HTMLInputElement) TrySetSelectionRange1(start uint32, end uint32) (ret js.Void, exception js.Any, ok bool) {
  4081  	ok = js.True == bindings.TryHTMLInputElementSetSelectionRange1(
  4082  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4083  		uint32(start),
  4084  		uint32(end),
  4085  	)
  4086  
  4087  	return
  4088  }
  4089  
  4090  // HasFuncShowPicker returns true if the method "HTMLInputElement.showPicker" exists.
  4091  func (this HTMLInputElement) HasFuncShowPicker() bool {
  4092  	return js.True == bindings.HasFuncHTMLInputElementShowPicker(
  4093  		this.ref,
  4094  	)
  4095  }
  4096  
  4097  // FuncShowPicker returns the method "HTMLInputElement.showPicker".
  4098  func (this HTMLInputElement) FuncShowPicker() (fn js.Func[func()]) {
  4099  	bindings.FuncHTMLInputElementShowPicker(
  4100  		this.ref, js.Pointer(&fn),
  4101  	)
  4102  	return
  4103  }
  4104  
  4105  // ShowPicker calls the method "HTMLInputElement.showPicker".
  4106  func (this HTMLInputElement) ShowPicker() (ret js.Void) {
  4107  	bindings.CallHTMLInputElementShowPicker(
  4108  		this.ref, js.Pointer(&ret),
  4109  	)
  4110  
  4111  	return
  4112  }
  4113  
  4114  // TryShowPicker calls the method "HTMLInputElement.showPicker"
  4115  // in a try/catch block and returns (_, err, ok = false) when it went through
  4116  // the catch clause.
  4117  func (this HTMLInputElement) TryShowPicker() (ret js.Void, exception js.Any, ok bool) {
  4118  	ok = js.True == bindings.TryHTMLInputElementShowPicker(
  4119  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4120  	)
  4121  
  4122  	return
  4123  }
  4124  
  4125  type HTMLLIElement struct {
  4126  	HTMLElement
  4127  }
  4128  
  4129  func (this HTMLLIElement) Once() HTMLLIElement {
  4130  	this.ref.Once()
  4131  	return this
  4132  }
  4133  
  4134  func (this HTMLLIElement) Ref() js.Ref {
  4135  	return this.HTMLElement.Ref()
  4136  }
  4137  
  4138  func (this HTMLLIElement) FromRef(ref js.Ref) HTMLLIElement {
  4139  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  4140  	return this
  4141  }
  4142  
  4143  func (this HTMLLIElement) Free() {
  4144  	this.ref.Free()
  4145  }
  4146  
  4147  // Value returns the value of property "HTMLLIElement.value".
  4148  //
  4149  // It returns ok=false if there is no such property.
  4150  func (this HTMLLIElement) Value() (ret int32, ok bool) {
  4151  	ok = js.True == bindings.GetHTMLLIElementValue(
  4152  		this.ref, js.Pointer(&ret),
  4153  	)
  4154  	return
  4155  }
  4156  
  4157  // SetValue sets the value of property "HTMLLIElement.value" to val.
  4158  //
  4159  // It returns false if the property cannot be set.
  4160  func (this HTMLLIElement) SetValue(val int32) bool {
  4161  	return js.True == bindings.SetHTMLLIElementValue(
  4162  		this.ref,
  4163  		int32(val),
  4164  	)
  4165  }
  4166  
  4167  // Type returns the value of property "HTMLLIElement.type".
  4168  //
  4169  // It returns ok=false if there is no such property.
  4170  func (this HTMLLIElement) Type() (ret js.String, ok bool) {
  4171  	ok = js.True == bindings.GetHTMLLIElementType(
  4172  		this.ref, js.Pointer(&ret),
  4173  	)
  4174  	return
  4175  }
  4176  
  4177  // SetType sets the value of property "HTMLLIElement.type" to val.
  4178  //
  4179  // It returns false if the property cannot be set.
  4180  func (this HTMLLIElement) SetType(val js.String) bool {
  4181  	return js.True == bindings.SetHTMLLIElementType(
  4182  		this.ref,
  4183  		val.Ref(),
  4184  	)
  4185  }
  4186  
  4187  type HTMLLabelElement struct {
  4188  	HTMLElement
  4189  }
  4190  
  4191  func (this HTMLLabelElement) Once() HTMLLabelElement {
  4192  	this.ref.Once()
  4193  	return this
  4194  }
  4195  
  4196  func (this HTMLLabelElement) Ref() js.Ref {
  4197  	return this.HTMLElement.Ref()
  4198  }
  4199  
  4200  func (this HTMLLabelElement) FromRef(ref js.Ref) HTMLLabelElement {
  4201  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  4202  	return this
  4203  }
  4204  
  4205  func (this HTMLLabelElement) Free() {
  4206  	this.ref.Free()
  4207  }
  4208  
  4209  // Form returns the value of property "HTMLLabelElement.form".
  4210  //
  4211  // It returns ok=false if there is no such property.
  4212  func (this HTMLLabelElement) Form() (ret HTMLFormElement, ok bool) {
  4213  	ok = js.True == bindings.GetHTMLLabelElementForm(
  4214  		this.ref, js.Pointer(&ret),
  4215  	)
  4216  	return
  4217  }
  4218  
  4219  // HtmlFor returns the value of property "HTMLLabelElement.htmlFor".
  4220  //
  4221  // It returns ok=false if there is no such property.
  4222  func (this HTMLLabelElement) HtmlFor() (ret js.String, ok bool) {
  4223  	ok = js.True == bindings.GetHTMLLabelElementHtmlFor(
  4224  		this.ref, js.Pointer(&ret),
  4225  	)
  4226  	return
  4227  }
  4228  
  4229  // SetHtmlFor sets the value of property "HTMLLabelElement.htmlFor" to val.
  4230  //
  4231  // It returns false if the property cannot be set.
  4232  func (this HTMLLabelElement) SetHtmlFor(val js.String) bool {
  4233  	return js.True == bindings.SetHTMLLabelElementHtmlFor(
  4234  		this.ref,
  4235  		val.Ref(),
  4236  	)
  4237  }
  4238  
  4239  // Control returns the value of property "HTMLLabelElement.control".
  4240  //
  4241  // It returns ok=false if there is no such property.
  4242  func (this HTMLLabelElement) Control() (ret HTMLElement, ok bool) {
  4243  	ok = js.True == bindings.GetHTMLLabelElementControl(
  4244  		this.ref, js.Pointer(&ret),
  4245  	)
  4246  	return
  4247  }
  4248  
  4249  type HTMLLegendElement struct {
  4250  	HTMLElement
  4251  }
  4252  
  4253  func (this HTMLLegendElement) Once() HTMLLegendElement {
  4254  	this.ref.Once()
  4255  	return this
  4256  }
  4257  
  4258  func (this HTMLLegendElement) Ref() js.Ref {
  4259  	return this.HTMLElement.Ref()
  4260  }
  4261  
  4262  func (this HTMLLegendElement) FromRef(ref js.Ref) HTMLLegendElement {
  4263  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  4264  	return this
  4265  }
  4266  
  4267  func (this HTMLLegendElement) Free() {
  4268  	this.ref.Free()
  4269  }
  4270  
  4271  // Form returns the value of property "HTMLLegendElement.form".
  4272  //
  4273  // It returns ok=false if there is no such property.
  4274  func (this HTMLLegendElement) Form() (ret HTMLFormElement, ok bool) {
  4275  	ok = js.True == bindings.GetHTMLLegendElementForm(
  4276  		this.ref, js.Pointer(&ret),
  4277  	)
  4278  	return
  4279  }
  4280  
  4281  // Align returns the value of property "HTMLLegendElement.align".
  4282  //
  4283  // It returns ok=false if there is no such property.
  4284  func (this HTMLLegendElement) Align() (ret js.String, ok bool) {
  4285  	ok = js.True == bindings.GetHTMLLegendElementAlign(
  4286  		this.ref, js.Pointer(&ret),
  4287  	)
  4288  	return
  4289  }
  4290  
  4291  // SetAlign sets the value of property "HTMLLegendElement.align" to val.
  4292  //
  4293  // It returns false if the property cannot be set.
  4294  func (this HTMLLegendElement) SetAlign(val js.String) bool {
  4295  	return js.True == bindings.SetHTMLLegendElementAlign(
  4296  		this.ref,
  4297  		val.Ref(),
  4298  	)
  4299  }
  4300  
  4301  type HTMLLinkElement struct {
  4302  	HTMLElement
  4303  }
  4304  
  4305  func (this HTMLLinkElement) Once() HTMLLinkElement {
  4306  	this.ref.Once()
  4307  	return this
  4308  }
  4309  
  4310  func (this HTMLLinkElement) Ref() js.Ref {
  4311  	return this.HTMLElement.Ref()
  4312  }
  4313  
  4314  func (this HTMLLinkElement) FromRef(ref js.Ref) HTMLLinkElement {
  4315  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  4316  	return this
  4317  }
  4318  
  4319  func (this HTMLLinkElement) Free() {
  4320  	this.ref.Free()
  4321  }
  4322  
  4323  // Href returns the value of property "HTMLLinkElement.href".
  4324  //
  4325  // It returns ok=false if there is no such property.
  4326  func (this HTMLLinkElement) Href() (ret js.String, ok bool) {
  4327  	ok = js.True == bindings.GetHTMLLinkElementHref(
  4328  		this.ref, js.Pointer(&ret),
  4329  	)
  4330  	return
  4331  }
  4332  
  4333  // SetHref sets the value of property "HTMLLinkElement.href" to val.
  4334  //
  4335  // It returns false if the property cannot be set.
  4336  func (this HTMLLinkElement) SetHref(val js.String) bool {
  4337  	return js.True == bindings.SetHTMLLinkElementHref(
  4338  		this.ref,
  4339  		val.Ref(),
  4340  	)
  4341  }
  4342  
  4343  // CrossOrigin returns the value of property "HTMLLinkElement.crossOrigin".
  4344  //
  4345  // It returns ok=false if there is no such property.
  4346  func (this HTMLLinkElement) CrossOrigin() (ret js.String, ok bool) {
  4347  	ok = js.True == bindings.GetHTMLLinkElementCrossOrigin(
  4348  		this.ref, js.Pointer(&ret),
  4349  	)
  4350  	return
  4351  }
  4352  
  4353  // SetCrossOrigin sets the value of property "HTMLLinkElement.crossOrigin" to val.
  4354  //
  4355  // It returns false if the property cannot be set.
  4356  func (this HTMLLinkElement) SetCrossOrigin(val js.String) bool {
  4357  	return js.True == bindings.SetHTMLLinkElementCrossOrigin(
  4358  		this.ref,
  4359  		val.Ref(),
  4360  	)
  4361  }
  4362  
  4363  // Rel returns the value of property "HTMLLinkElement.rel".
  4364  //
  4365  // It returns ok=false if there is no such property.
  4366  func (this HTMLLinkElement) Rel() (ret js.String, ok bool) {
  4367  	ok = js.True == bindings.GetHTMLLinkElementRel(
  4368  		this.ref, js.Pointer(&ret),
  4369  	)
  4370  	return
  4371  }
  4372  
  4373  // SetRel sets the value of property "HTMLLinkElement.rel" to val.
  4374  //
  4375  // It returns false if the property cannot be set.
  4376  func (this HTMLLinkElement) SetRel(val js.String) bool {
  4377  	return js.True == bindings.SetHTMLLinkElementRel(
  4378  		this.ref,
  4379  		val.Ref(),
  4380  	)
  4381  }
  4382  
  4383  // As returns the value of property "HTMLLinkElement.as".
  4384  //
  4385  // It returns ok=false if there is no such property.
  4386  func (this HTMLLinkElement) As() (ret js.String, ok bool) {
  4387  	ok = js.True == bindings.GetHTMLLinkElementAs(
  4388  		this.ref, js.Pointer(&ret),
  4389  	)
  4390  	return
  4391  }
  4392  
  4393  // SetAs sets the value of property "HTMLLinkElement.as" to val.
  4394  //
  4395  // It returns false if the property cannot be set.
  4396  func (this HTMLLinkElement) SetAs(val js.String) bool {
  4397  	return js.True == bindings.SetHTMLLinkElementAs(
  4398  		this.ref,
  4399  		val.Ref(),
  4400  	)
  4401  }
  4402  
  4403  // RelList returns the value of property "HTMLLinkElement.relList".
  4404  //
  4405  // It returns ok=false if there is no such property.
  4406  func (this HTMLLinkElement) RelList() (ret DOMTokenList, ok bool) {
  4407  	ok = js.True == bindings.GetHTMLLinkElementRelList(
  4408  		this.ref, js.Pointer(&ret),
  4409  	)
  4410  	return
  4411  }
  4412  
  4413  // Media returns the value of property "HTMLLinkElement.media".
  4414  //
  4415  // It returns ok=false if there is no such property.
  4416  func (this HTMLLinkElement) Media() (ret js.String, ok bool) {
  4417  	ok = js.True == bindings.GetHTMLLinkElementMedia(
  4418  		this.ref, js.Pointer(&ret),
  4419  	)
  4420  	return
  4421  }
  4422  
  4423  // SetMedia sets the value of property "HTMLLinkElement.media" to val.
  4424  //
  4425  // It returns false if the property cannot be set.
  4426  func (this HTMLLinkElement) SetMedia(val js.String) bool {
  4427  	return js.True == bindings.SetHTMLLinkElementMedia(
  4428  		this.ref,
  4429  		val.Ref(),
  4430  	)
  4431  }
  4432  
  4433  // Integrity returns the value of property "HTMLLinkElement.integrity".
  4434  //
  4435  // It returns ok=false if there is no such property.
  4436  func (this HTMLLinkElement) Integrity() (ret js.String, ok bool) {
  4437  	ok = js.True == bindings.GetHTMLLinkElementIntegrity(
  4438  		this.ref, js.Pointer(&ret),
  4439  	)
  4440  	return
  4441  }
  4442  
  4443  // SetIntegrity sets the value of property "HTMLLinkElement.integrity" to val.
  4444  //
  4445  // It returns false if the property cannot be set.
  4446  func (this HTMLLinkElement) SetIntegrity(val js.String) bool {
  4447  	return js.True == bindings.SetHTMLLinkElementIntegrity(
  4448  		this.ref,
  4449  		val.Ref(),
  4450  	)
  4451  }
  4452  
  4453  // Hreflang returns the value of property "HTMLLinkElement.hreflang".
  4454  //
  4455  // It returns ok=false if there is no such property.
  4456  func (this HTMLLinkElement) Hreflang() (ret js.String, ok bool) {
  4457  	ok = js.True == bindings.GetHTMLLinkElementHreflang(
  4458  		this.ref, js.Pointer(&ret),
  4459  	)
  4460  	return
  4461  }
  4462  
  4463  // SetHreflang sets the value of property "HTMLLinkElement.hreflang" to val.
  4464  //
  4465  // It returns false if the property cannot be set.
  4466  func (this HTMLLinkElement) SetHreflang(val js.String) bool {
  4467  	return js.True == bindings.SetHTMLLinkElementHreflang(
  4468  		this.ref,
  4469  		val.Ref(),
  4470  	)
  4471  }
  4472  
  4473  // Type returns the value of property "HTMLLinkElement.type".
  4474  //
  4475  // It returns ok=false if there is no such property.
  4476  func (this HTMLLinkElement) Type() (ret js.String, ok bool) {
  4477  	ok = js.True == bindings.GetHTMLLinkElementType(
  4478  		this.ref, js.Pointer(&ret),
  4479  	)
  4480  	return
  4481  }
  4482  
  4483  // SetType sets the value of property "HTMLLinkElement.type" to val.
  4484  //
  4485  // It returns false if the property cannot be set.
  4486  func (this HTMLLinkElement) SetType(val js.String) bool {
  4487  	return js.True == bindings.SetHTMLLinkElementType(
  4488  		this.ref,
  4489  		val.Ref(),
  4490  	)
  4491  }
  4492  
  4493  // Sizes returns the value of property "HTMLLinkElement.sizes".
  4494  //
  4495  // It returns ok=false if there is no such property.
  4496  func (this HTMLLinkElement) Sizes() (ret DOMTokenList, ok bool) {
  4497  	ok = js.True == bindings.GetHTMLLinkElementSizes(
  4498  		this.ref, js.Pointer(&ret),
  4499  	)
  4500  	return
  4501  }
  4502  
  4503  // ImageSrcset returns the value of property "HTMLLinkElement.imageSrcset".
  4504  //
  4505  // It returns ok=false if there is no such property.
  4506  func (this HTMLLinkElement) ImageSrcset() (ret js.String, ok bool) {
  4507  	ok = js.True == bindings.GetHTMLLinkElementImageSrcset(
  4508  		this.ref, js.Pointer(&ret),
  4509  	)
  4510  	return
  4511  }
  4512  
  4513  // SetImageSrcset sets the value of property "HTMLLinkElement.imageSrcset" to val.
  4514  //
  4515  // It returns false if the property cannot be set.
  4516  func (this HTMLLinkElement) SetImageSrcset(val js.String) bool {
  4517  	return js.True == bindings.SetHTMLLinkElementImageSrcset(
  4518  		this.ref,
  4519  		val.Ref(),
  4520  	)
  4521  }
  4522  
  4523  // ImageSizes returns the value of property "HTMLLinkElement.imageSizes".
  4524  //
  4525  // It returns ok=false if there is no such property.
  4526  func (this HTMLLinkElement) ImageSizes() (ret js.String, ok bool) {
  4527  	ok = js.True == bindings.GetHTMLLinkElementImageSizes(
  4528  		this.ref, js.Pointer(&ret),
  4529  	)
  4530  	return
  4531  }
  4532  
  4533  // SetImageSizes sets the value of property "HTMLLinkElement.imageSizes" to val.
  4534  //
  4535  // It returns false if the property cannot be set.
  4536  func (this HTMLLinkElement) SetImageSizes(val js.String) bool {
  4537  	return js.True == bindings.SetHTMLLinkElementImageSizes(
  4538  		this.ref,
  4539  		val.Ref(),
  4540  	)
  4541  }
  4542  
  4543  // ReferrerPolicy returns the value of property "HTMLLinkElement.referrerPolicy".
  4544  //
  4545  // It returns ok=false if there is no such property.
  4546  func (this HTMLLinkElement) ReferrerPolicy() (ret js.String, ok bool) {
  4547  	ok = js.True == bindings.GetHTMLLinkElementReferrerPolicy(
  4548  		this.ref, js.Pointer(&ret),
  4549  	)
  4550  	return
  4551  }
  4552  
  4553  // SetReferrerPolicy sets the value of property "HTMLLinkElement.referrerPolicy" to val.
  4554  //
  4555  // It returns false if the property cannot be set.
  4556  func (this HTMLLinkElement) SetReferrerPolicy(val js.String) bool {
  4557  	return js.True == bindings.SetHTMLLinkElementReferrerPolicy(
  4558  		this.ref,
  4559  		val.Ref(),
  4560  	)
  4561  }
  4562  
  4563  // Blocking returns the value of property "HTMLLinkElement.blocking".
  4564  //
  4565  // It returns ok=false if there is no such property.
  4566  func (this HTMLLinkElement) Blocking() (ret DOMTokenList, ok bool) {
  4567  	ok = js.True == bindings.GetHTMLLinkElementBlocking(
  4568  		this.ref, js.Pointer(&ret),
  4569  	)
  4570  	return
  4571  }
  4572  
  4573  // Disabled returns the value of property "HTMLLinkElement.disabled".
  4574  //
  4575  // It returns ok=false if there is no such property.
  4576  func (this HTMLLinkElement) Disabled() (ret bool, ok bool) {
  4577  	ok = js.True == bindings.GetHTMLLinkElementDisabled(
  4578  		this.ref, js.Pointer(&ret),
  4579  	)
  4580  	return
  4581  }
  4582  
  4583  // SetDisabled sets the value of property "HTMLLinkElement.disabled" to val.
  4584  //
  4585  // It returns false if the property cannot be set.
  4586  func (this HTMLLinkElement) SetDisabled(val bool) bool {
  4587  	return js.True == bindings.SetHTMLLinkElementDisabled(
  4588  		this.ref,
  4589  		js.Bool(bool(val)),
  4590  	)
  4591  }
  4592  
  4593  // FetchPriority returns the value of property "HTMLLinkElement.fetchPriority".
  4594  //
  4595  // It returns ok=false if there is no such property.
  4596  func (this HTMLLinkElement) FetchPriority() (ret js.String, ok bool) {
  4597  	ok = js.True == bindings.GetHTMLLinkElementFetchPriority(
  4598  		this.ref, js.Pointer(&ret),
  4599  	)
  4600  	return
  4601  }
  4602  
  4603  // SetFetchPriority sets the value of property "HTMLLinkElement.fetchPriority" to val.
  4604  //
  4605  // It returns false if the property cannot be set.
  4606  func (this HTMLLinkElement) SetFetchPriority(val js.String) bool {
  4607  	return js.True == bindings.SetHTMLLinkElementFetchPriority(
  4608  		this.ref,
  4609  		val.Ref(),
  4610  	)
  4611  }
  4612  
  4613  // Charset returns the value of property "HTMLLinkElement.charset".
  4614  //
  4615  // It returns ok=false if there is no such property.
  4616  func (this HTMLLinkElement) Charset() (ret js.String, ok bool) {
  4617  	ok = js.True == bindings.GetHTMLLinkElementCharset(
  4618  		this.ref, js.Pointer(&ret),
  4619  	)
  4620  	return
  4621  }
  4622  
  4623  // SetCharset sets the value of property "HTMLLinkElement.charset" to val.
  4624  //
  4625  // It returns false if the property cannot be set.
  4626  func (this HTMLLinkElement) SetCharset(val js.String) bool {
  4627  	return js.True == bindings.SetHTMLLinkElementCharset(
  4628  		this.ref,
  4629  		val.Ref(),
  4630  	)
  4631  }
  4632  
  4633  // Rev returns the value of property "HTMLLinkElement.rev".
  4634  //
  4635  // It returns ok=false if there is no such property.
  4636  func (this HTMLLinkElement) Rev() (ret js.String, ok bool) {
  4637  	ok = js.True == bindings.GetHTMLLinkElementRev(
  4638  		this.ref, js.Pointer(&ret),
  4639  	)
  4640  	return
  4641  }
  4642  
  4643  // SetRev sets the value of property "HTMLLinkElement.rev" to val.
  4644  //
  4645  // It returns false if the property cannot be set.
  4646  func (this HTMLLinkElement) SetRev(val js.String) bool {
  4647  	return js.True == bindings.SetHTMLLinkElementRev(
  4648  		this.ref,
  4649  		val.Ref(),
  4650  	)
  4651  }
  4652  
  4653  // Target returns the value of property "HTMLLinkElement.target".
  4654  //
  4655  // It returns ok=false if there is no such property.
  4656  func (this HTMLLinkElement) Target() (ret js.String, ok bool) {
  4657  	ok = js.True == bindings.GetHTMLLinkElementTarget(
  4658  		this.ref, js.Pointer(&ret),
  4659  	)
  4660  	return
  4661  }
  4662  
  4663  // SetTarget sets the value of property "HTMLLinkElement.target" to val.
  4664  //
  4665  // It returns false if the property cannot be set.
  4666  func (this HTMLLinkElement) SetTarget(val js.String) bool {
  4667  	return js.True == bindings.SetHTMLLinkElementTarget(
  4668  		this.ref,
  4669  		val.Ref(),
  4670  	)
  4671  }
  4672  
  4673  // Sheet returns the value of property "HTMLLinkElement.sheet".
  4674  //
  4675  // It returns ok=false if there is no such property.
  4676  func (this HTMLLinkElement) Sheet() (ret CSSStyleSheet, ok bool) {
  4677  	ok = js.True == bindings.GetHTMLLinkElementSheet(
  4678  		this.ref, js.Pointer(&ret),
  4679  	)
  4680  	return
  4681  }
  4682  
  4683  type HTMLMapElement struct {
  4684  	HTMLElement
  4685  }
  4686  
  4687  func (this HTMLMapElement) Once() HTMLMapElement {
  4688  	this.ref.Once()
  4689  	return this
  4690  }
  4691  
  4692  func (this HTMLMapElement) Ref() js.Ref {
  4693  	return this.HTMLElement.Ref()
  4694  }
  4695  
  4696  func (this HTMLMapElement) FromRef(ref js.Ref) HTMLMapElement {
  4697  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  4698  	return this
  4699  }
  4700  
  4701  func (this HTMLMapElement) Free() {
  4702  	this.ref.Free()
  4703  }
  4704  
  4705  // Name returns the value of property "HTMLMapElement.name".
  4706  //
  4707  // It returns ok=false if there is no such property.
  4708  func (this HTMLMapElement) Name() (ret js.String, ok bool) {
  4709  	ok = js.True == bindings.GetHTMLMapElementName(
  4710  		this.ref, js.Pointer(&ret),
  4711  	)
  4712  	return
  4713  }
  4714  
  4715  // SetName sets the value of property "HTMLMapElement.name" to val.
  4716  //
  4717  // It returns false if the property cannot be set.
  4718  func (this HTMLMapElement) SetName(val js.String) bool {
  4719  	return js.True == bindings.SetHTMLMapElementName(
  4720  		this.ref,
  4721  		val.Ref(),
  4722  	)
  4723  }
  4724  
  4725  // Areas returns the value of property "HTMLMapElement.areas".
  4726  //
  4727  // It returns ok=false if there is no such property.
  4728  func (this HTMLMapElement) Areas() (ret HTMLCollection, ok bool) {
  4729  	ok = js.True == bindings.GetHTMLMapElementAreas(
  4730  		this.ref, js.Pointer(&ret),
  4731  	)
  4732  	return
  4733  }
  4734  
  4735  type HTMLMarqueeElement struct {
  4736  	HTMLElement
  4737  }
  4738  
  4739  func (this HTMLMarqueeElement) Once() HTMLMarqueeElement {
  4740  	this.ref.Once()
  4741  	return this
  4742  }
  4743  
  4744  func (this HTMLMarqueeElement) Ref() js.Ref {
  4745  	return this.HTMLElement.Ref()
  4746  }
  4747  
  4748  func (this HTMLMarqueeElement) FromRef(ref js.Ref) HTMLMarqueeElement {
  4749  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  4750  	return this
  4751  }
  4752  
  4753  func (this HTMLMarqueeElement) Free() {
  4754  	this.ref.Free()
  4755  }
  4756  
  4757  // Behavior returns the value of property "HTMLMarqueeElement.behavior".
  4758  //
  4759  // It returns ok=false if there is no such property.
  4760  func (this HTMLMarqueeElement) Behavior() (ret js.String, ok bool) {
  4761  	ok = js.True == bindings.GetHTMLMarqueeElementBehavior(
  4762  		this.ref, js.Pointer(&ret),
  4763  	)
  4764  	return
  4765  }
  4766  
  4767  // SetBehavior sets the value of property "HTMLMarqueeElement.behavior" to val.
  4768  //
  4769  // It returns false if the property cannot be set.
  4770  func (this HTMLMarqueeElement) SetBehavior(val js.String) bool {
  4771  	return js.True == bindings.SetHTMLMarqueeElementBehavior(
  4772  		this.ref,
  4773  		val.Ref(),
  4774  	)
  4775  }
  4776  
  4777  // BgColor returns the value of property "HTMLMarqueeElement.bgColor".
  4778  //
  4779  // It returns ok=false if there is no such property.
  4780  func (this HTMLMarqueeElement) BgColor() (ret js.String, ok bool) {
  4781  	ok = js.True == bindings.GetHTMLMarqueeElementBgColor(
  4782  		this.ref, js.Pointer(&ret),
  4783  	)
  4784  	return
  4785  }
  4786  
  4787  // SetBgColor sets the value of property "HTMLMarqueeElement.bgColor" to val.
  4788  //
  4789  // It returns false if the property cannot be set.
  4790  func (this HTMLMarqueeElement) SetBgColor(val js.String) bool {
  4791  	return js.True == bindings.SetHTMLMarqueeElementBgColor(
  4792  		this.ref,
  4793  		val.Ref(),
  4794  	)
  4795  }
  4796  
  4797  // Direction returns the value of property "HTMLMarqueeElement.direction".
  4798  //
  4799  // It returns ok=false if there is no such property.
  4800  func (this HTMLMarqueeElement) Direction() (ret js.String, ok bool) {
  4801  	ok = js.True == bindings.GetHTMLMarqueeElementDirection(
  4802  		this.ref, js.Pointer(&ret),
  4803  	)
  4804  	return
  4805  }
  4806  
  4807  // SetDirection sets the value of property "HTMLMarqueeElement.direction" to val.
  4808  //
  4809  // It returns false if the property cannot be set.
  4810  func (this HTMLMarqueeElement) SetDirection(val js.String) bool {
  4811  	return js.True == bindings.SetHTMLMarqueeElementDirection(
  4812  		this.ref,
  4813  		val.Ref(),
  4814  	)
  4815  }
  4816  
  4817  // Height returns the value of property "HTMLMarqueeElement.height".
  4818  //
  4819  // It returns ok=false if there is no such property.
  4820  func (this HTMLMarqueeElement) Height() (ret js.String, ok bool) {
  4821  	ok = js.True == bindings.GetHTMLMarqueeElementHeight(
  4822  		this.ref, js.Pointer(&ret),
  4823  	)
  4824  	return
  4825  }
  4826  
  4827  // SetHeight sets the value of property "HTMLMarqueeElement.height" to val.
  4828  //
  4829  // It returns false if the property cannot be set.
  4830  func (this HTMLMarqueeElement) SetHeight(val js.String) bool {
  4831  	return js.True == bindings.SetHTMLMarqueeElementHeight(
  4832  		this.ref,
  4833  		val.Ref(),
  4834  	)
  4835  }
  4836  
  4837  // Hspace returns the value of property "HTMLMarqueeElement.hspace".
  4838  //
  4839  // It returns ok=false if there is no such property.
  4840  func (this HTMLMarqueeElement) Hspace() (ret uint32, ok bool) {
  4841  	ok = js.True == bindings.GetHTMLMarqueeElementHspace(
  4842  		this.ref, js.Pointer(&ret),
  4843  	)
  4844  	return
  4845  }
  4846  
  4847  // SetHspace sets the value of property "HTMLMarqueeElement.hspace" to val.
  4848  //
  4849  // It returns false if the property cannot be set.
  4850  func (this HTMLMarqueeElement) SetHspace(val uint32) bool {
  4851  	return js.True == bindings.SetHTMLMarqueeElementHspace(
  4852  		this.ref,
  4853  		uint32(val),
  4854  	)
  4855  }
  4856  
  4857  // Loop returns the value of property "HTMLMarqueeElement.loop".
  4858  //
  4859  // It returns ok=false if there is no such property.
  4860  func (this HTMLMarqueeElement) Loop() (ret int32, ok bool) {
  4861  	ok = js.True == bindings.GetHTMLMarqueeElementLoop(
  4862  		this.ref, js.Pointer(&ret),
  4863  	)
  4864  	return
  4865  }
  4866  
  4867  // SetLoop sets the value of property "HTMLMarqueeElement.loop" to val.
  4868  //
  4869  // It returns false if the property cannot be set.
  4870  func (this HTMLMarqueeElement) SetLoop(val int32) bool {
  4871  	return js.True == bindings.SetHTMLMarqueeElementLoop(
  4872  		this.ref,
  4873  		int32(val),
  4874  	)
  4875  }
  4876  
  4877  // ScrollAmount returns the value of property "HTMLMarqueeElement.scrollAmount".
  4878  //
  4879  // It returns ok=false if there is no such property.
  4880  func (this HTMLMarqueeElement) ScrollAmount() (ret uint32, ok bool) {
  4881  	ok = js.True == bindings.GetHTMLMarqueeElementScrollAmount(
  4882  		this.ref, js.Pointer(&ret),
  4883  	)
  4884  	return
  4885  }
  4886  
  4887  // SetScrollAmount sets the value of property "HTMLMarqueeElement.scrollAmount" to val.
  4888  //
  4889  // It returns false if the property cannot be set.
  4890  func (this HTMLMarqueeElement) SetScrollAmount(val uint32) bool {
  4891  	return js.True == bindings.SetHTMLMarqueeElementScrollAmount(
  4892  		this.ref,
  4893  		uint32(val),
  4894  	)
  4895  }
  4896  
  4897  // ScrollDelay returns the value of property "HTMLMarqueeElement.scrollDelay".
  4898  //
  4899  // It returns ok=false if there is no such property.
  4900  func (this HTMLMarqueeElement) ScrollDelay() (ret uint32, ok bool) {
  4901  	ok = js.True == bindings.GetHTMLMarqueeElementScrollDelay(
  4902  		this.ref, js.Pointer(&ret),
  4903  	)
  4904  	return
  4905  }
  4906  
  4907  // SetScrollDelay sets the value of property "HTMLMarqueeElement.scrollDelay" to val.
  4908  //
  4909  // It returns false if the property cannot be set.
  4910  func (this HTMLMarqueeElement) SetScrollDelay(val uint32) bool {
  4911  	return js.True == bindings.SetHTMLMarqueeElementScrollDelay(
  4912  		this.ref,
  4913  		uint32(val),
  4914  	)
  4915  }
  4916  
  4917  // TrueSpeed returns the value of property "HTMLMarqueeElement.trueSpeed".
  4918  //
  4919  // It returns ok=false if there is no such property.
  4920  func (this HTMLMarqueeElement) TrueSpeed() (ret bool, ok bool) {
  4921  	ok = js.True == bindings.GetHTMLMarqueeElementTrueSpeed(
  4922  		this.ref, js.Pointer(&ret),
  4923  	)
  4924  	return
  4925  }
  4926  
  4927  // SetTrueSpeed sets the value of property "HTMLMarqueeElement.trueSpeed" to val.
  4928  //
  4929  // It returns false if the property cannot be set.
  4930  func (this HTMLMarqueeElement) SetTrueSpeed(val bool) bool {
  4931  	return js.True == bindings.SetHTMLMarqueeElementTrueSpeed(
  4932  		this.ref,
  4933  		js.Bool(bool(val)),
  4934  	)
  4935  }
  4936  
  4937  // Vspace returns the value of property "HTMLMarqueeElement.vspace".
  4938  //
  4939  // It returns ok=false if there is no such property.
  4940  func (this HTMLMarqueeElement) Vspace() (ret uint32, ok bool) {
  4941  	ok = js.True == bindings.GetHTMLMarqueeElementVspace(
  4942  		this.ref, js.Pointer(&ret),
  4943  	)
  4944  	return
  4945  }
  4946  
  4947  // SetVspace sets the value of property "HTMLMarqueeElement.vspace" to val.
  4948  //
  4949  // It returns false if the property cannot be set.
  4950  func (this HTMLMarqueeElement) SetVspace(val uint32) bool {
  4951  	return js.True == bindings.SetHTMLMarqueeElementVspace(
  4952  		this.ref,
  4953  		uint32(val),
  4954  	)
  4955  }
  4956  
  4957  // Width returns the value of property "HTMLMarqueeElement.width".
  4958  //
  4959  // It returns ok=false if there is no such property.
  4960  func (this HTMLMarqueeElement) Width() (ret js.String, ok bool) {
  4961  	ok = js.True == bindings.GetHTMLMarqueeElementWidth(
  4962  		this.ref, js.Pointer(&ret),
  4963  	)
  4964  	return
  4965  }
  4966  
  4967  // SetWidth sets the value of property "HTMLMarqueeElement.width" to val.
  4968  //
  4969  // It returns false if the property cannot be set.
  4970  func (this HTMLMarqueeElement) SetWidth(val js.String) bool {
  4971  	return js.True == bindings.SetHTMLMarqueeElementWidth(
  4972  		this.ref,
  4973  		val.Ref(),
  4974  	)
  4975  }
  4976  
  4977  // HasFuncStart returns true if the method "HTMLMarqueeElement.start" exists.
  4978  func (this HTMLMarqueeElement) HasFuncStart() bool {
  4979  	return js.True == bindings.HasFuncHTMLMarqueeElementStart(
  4980  		this.ref,
  4981  	)
  4982  }
  4983  
  4984  // FuncStart returns the method "HTMLMarqueeElement.start".
  4985  func (this HTMLMarqueeElement) FuncStart() (fn js.Func[func()]) {
  4986  	bindings.FuncHTMLMarqueeElementStart(
  4987  		this.ref, js.Pointer(&fn),
  4988  	)
  4989  	return
  4990  }
  4991  
  4992  // Start calls the method "HTMLMarqueeElement.start".
  4993  func (this HTMLMarqueeElement) Start() (ret js.Void) {
  4994  	bindings.CallHTMLMarqueeElementStart(
  4995  		this.ref, js.Pointer(&ret),
  4996  	)
  4997  
  4998  	return
  4999  }
  5000  
  5001  // TryStart calls the method "HTMLMarqueeElement.start"
  5002  // in a try/catch block and returns (_, err, ok = false) when it went through
  5003  // the catch clause.
  5004  func (this HTMLMarqueeElement) TryStart() (ret js.Void, exception js.Any, ok bool) {
  5005  	ok = js.True == bindings.TryHTMLMarqueeElementStart(
  5006  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5007  	)
  5008  
  5009  	return
  5010  }
  5011  
  5012  // HasFuncStop returns true if the method "HTMLMarqueeElement.stop" exists.
  5013  func (this HTMLMarqueeElement) HasFuncStop() bool {
  5014  	return js.True == bindings.HasFuncHTMLMarqueeElementStop(
  5015  		this.ref,
  5016  	)
  5017  }
  5018  
  5019  // FuncStop returns the method "HTMLMarqueeElement.stop".
  5020  func (this HTMLMarqueeElement) FuncStop() (fn js.Func[func()]) {
  5021  	bindings.FuncHTMLMarqueeElementStop(
  5022  		this.ref, js.Pointer(&fn),
  5023  	)
  5024  	return
  5025  }
  5026  
  5027  // Stop calls the method "HTMLMarqueeElement.stop".
  5028  func (this HTMLMarqueeElement) Stop() (ret js.Void) {
  5029  	bindings.CallHTMLMarqueeElementStop(
  5030  		this.ref, js.Pointer(&ret),
  5031  	)
  5032  
  5033  	return
  5034  }
  5035  
  5036  // TryStop calls the method "HTMLMarqueeElement.stop"
  5037  // in a try/catch block and returns (_, err, ok = false) when it went through
  5038  // the catch clause.
  5039  func (this HTMLMarqueeElement) TryStop() (ret js.Void, exception js.Any, ok bool) {
  5040  	ok = js.True == bindings.TryHTMLMarqueeElementStop(
  5041  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5042  	)
  5043  
  5044  	return
  5045  }
  5046  
  5047  type HTMLMenuElement struct {
  5048  	HTMLElement
  5049  }
  5050  
  5051  func (this HTMLMenuElement) Once() HTMLMenuElement {
  5052  	this.ref.Once()
  5053  	return this
  5054  }
  5055  
  5056  func (this HTMLMenuElement) Ref() js.Ref {
  5057  	return this.HTMLElement.Ref()
  5058  }
  5059  
  5060  func (this HTMLMenuElement) FromRef(ref js.Ref) HTMLMenuElement {
  5061  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  5062  	return this
  5063  }
  5064  
  5065  func (this HTMLMenuElement) Free() {
  5066  	this.ref.Free()
  5067  }
  5068  
  5069  // Compact returns the value of property "HTMLMenuElement.compact".
  5070  //
  5071  // It returns ok=false if there is no such property.
  5072  func (this HTMLMenuElement) Compact() (ret bool, ok bool) {
  5073  	ok = js.True == bindings.GetHTMLMenuElementCompact(
  5074  		this.ref, js.Pointer(&ret),
  5075  	)
  5076  	return
  5077  }
  5078  
  5079  // SetCompact sets the value of property "HTMLMenuElement.compact" to val.
  5080  //
  5081  // It returns false if the property cannot be set.
  5082  func (this HTMLMenuElement) SetCompact(val bool) bool {
  5083  	return js.True == bindings.SetHTMLMenuElementCompact(
  5084  		this.ref,
  5085  		js.Bool(bool(val)),
  5086  	)
  5087  }
  5088  
  5089  type HTMLMetaElement struct {
  5090  	HTMLElement
  5091  }
  5092  
  5093  func (this HTMLMetaElement) Once() HTMLMetaElement {
  5094  	this.ref.Once()
  5095  	return this
  5096  }
  5097  
  5098  func (this HTMLMetaElement) Ref() js.Ref {
  5099  	return this.HTMLElement.Ref()
  5100  }
  5101  
  5102  func (this HTMLMetaElement) FromRef(ref js.Ref) HTMLMetaElement {
  5103  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  5104  	return this
  5105  }
  5106  
  5107  func (this HTMLMetaElement) Free() {
  5108  	this.ref.Free()
  5109  }
  5110  
  5111  // Name returns the value of property "HTMLMetaElement.name".
  5112  //
  5113  // It returns ok=false if there is no such property.
  5114  func (this HTMLMetaElement) Name() (ret js.String, ok bool) {
  5115  	ok = js.True == bindings.GetHTMLMetaElementName(
  5116  		this.ref, js.Pointer(&ret),
  5117  	)
  5118  	return
  5119  }
  5120  
  5121  // SetName sets the value of property "HTMLMetaElement.name" to val.
  5122  //
  5123  // It returns false if the property cannot be set.
  5124  func (this HTMLMetaElement) SetName(val js.String) bool {
  5125  	return js.True == bindings.SetHTMLMetaElementName(
  5126  		this.ref,
  5127  		val.Ref(),
  5128  	)
  5129  }
  5130  
  5131  // HttpEquiv returns the value of property "HTMLMetaElement.httpEquiv".
  5132  //
  5133  // It returns ok=false if there is no such property.
  5134  func (this HTMLMetaElement) HttpEquiv() (ret js.String, ok bool) {
  5135  	ok = js.True == bindings.GetHTMLMetaElementHttpEquiv(
  5136  		this.ref, js.Pointer(&ret),
  5137  	)
  5138  	return
  5139  }
  5140  
  5141  // SetHttpEquiv sets the value of property "HTMLMetaElement.httpEquiv" to val.
  5142  //
  5143  // It returns false if the property cannot be set.
  5144  func (this HTMLMetaElement) SetHttpEquiv(val js.String) bool {
  5145  	return js.True == bindings.SetHTMLMetaElementHttpEquiv(
  5146  		this.ref,
  5147  		val.Ref(),
  5148  	)
  5149  }
  5150  
  5151  // Content returns the value of property "HTMLMetaElement.content".
  5152  //
  5153  // It returns ok=false if there is no such property.
  5154  func (this HTMLMetaElement) Content() (ret js.String, ok bool) {
  5155  	ok = js.True == bindings.GetHTMLMetaElementContent(
  5156  		this.ref, js.Pointer(&ret),
  5157  	)
  5158  	return
  5159  }
  5160  
  5161  // SetContent sets the value of property "HTMLMetaElement.content" to val.
  5162  //
  5163  // It returns false if the property cannot be set.
  5164  func (this HTMLMetaElement) SetContent(val js.String) bool {
  5165  	return js.True == bindings.SetHTMLMetaElementContent(
  5166  		this.ref,
  5167  		val.Ref(),
  5168  	)
  5169  }
  5170  
  5171  // Media returns the value of property "HTMLMetaElement.media".
  5172  //
  5173  // It returns ok=false if there is no such property.
  5174  func (this HTMLMetaElement) Media() (ret js.String, ok bool) {
  5175  	ok = js.True == bindings.GetHTMLMetaElementMedia(
  5176  		this.ref, js.Pointer(&ret),
  5177  	)
  5178  	return
  5179  }
  5180  
  5181  // SetMedia sets the value of property "HTMLMetaElement.media" to val.
  5182  //
  5183  // It returns false if the property cannot be set.
  5184  func (this HTMLMetaElement) SetMedia(val js.String) bool {
  5185  	return js.True == bindings.SetHTMLMetaElementMedia(
  5186  		this.ref,
  5187  		val.Ref(),
  5188  	)
  5189  }
  5190  
  5191  // Scheme returns the value of property "HTMLMetaElement.scheme".
  5192  //
  5193  // It returns ok=false if there is no such property.
  5194  func (this HTMLMetaElement) Scheme() (ret js.String, ok bool) {
  5195  	ok = js.True == bindings.GetHTMLMetaElementScheme(
  5196  		this.ref, js.Pointer(&ret),
  5197  	)
  5198  	return
  5199  }
  5200  
  5201  // SetScheme sets the value of property "HTMLMetaElement.scheme" to val.
  5202  //
  5203  // It returns false if the property cannot be set.
  5204  func (this HTMLMetaElement) SetScheme(val js.String) bool {
  5205  	return js.True == bindings.SetHTMLMetaElementScheme(
  5206  		this.ref,
  5207  		val.Ref(),
  5208  	)
  5209  }
  5210  
  5211  type HTMLMeterElement struct {
  5212  	HTMLElement
  5213  }
  5214  
  5215  func (this HTMLMeterElement) Once() HTMLMeterElement {
  5216  	this.ref.Once()
  5217  	return this
  5218  }
  5219  
  5220  func (this HTMLMeterElement) Ref() js.Ref {
  5221  	return this.HTMLElement.Ref()
  5222  }
  5223  
  5224  func (this HTMLMeterElement) FromRef(ref js.Ref) HTMLMeterElement {
  5225  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  5226  	return this
  5227  }
  5228  
  5229  func (this HTMLMeterElement) Free() {
  5230  	this.ref.Free()
  5231  }
  5232  
  5233  // Value returns the value of property "HTMLMeterElement.value".
  5234  //
  5235  // It returns ok=false if there is no such property.
  5236  func (this HTMLMeterElement) Value() (ret float64, ok bool) {
  5237  	ok = js.True == bindings.GetHTMLMeterElementValue(
  5238  		this.ref, js.Pointer(&ret),
  5239  	)
  5240  	return
  5241  }
  5242  
  5243  // SetValue sets the value of property "HTMLMeterElement.value" to val.
  5244  //
  5245  // It returns false if the property cannot be set.
  5246  func (this HTMLMeterElement) SetValue(val float64) bool {
  5247  	return js.True == bindings.SetHTMLMeterElementValue(
  5248  		this.ref,
  5249  		float64(val),
  5250  	)
  5251  }
  5252  
  5253  // Min returns the value of property "HTMLMeterElement.min".
  5254  //
  5255  // It returns ok=false if there is no such property.
  5256  func (this HTMLMeterElement) Min() (ret float64, ok bool) {
  5257  	ok = js.True == bindings.GetHTMLMeterElementMin(
  5258  		this.ref, js.Pointer(&ret),
  5259  	)
  5260  	return
  5261  }
  5262  
  5263  // SetMin sets the value of property "HTMLMeterElement.min" to val.
  5264  //
  5265  // It returns false if the property cannot be set.
  5266  func (this HTMLMeterElement) SetMin(val float64) bool {
  5267  	return js.True == bindings.SetHTMLMeterElementMin(
  5268  		this.ref,
  5269  		float64(val),
  5270  	)
  5271  }
  5272  
  5273  // Max returns the value of property "HTMLMeterElement.max".
  5274  //
  5275  // It returns ok=false if there is no such property.
  5276  func (this HTMLMeterElement) Max() (ret float64, ok bool) {
  5277  	ok = js.True == bindings.GetHTMLMeterElementMax(
  5278  		this.ref, js.Pointer(&ret),
  5279  	)
  5280  	return
  5281  }
  5282  
  5283  // SetMax sets the value of property "HTMLMeterElement.max" to val.
  5284  //
  5285  // It returns false if the property cannot be set.
  5286  func (this HTMLMeterElement) SetMax(val float64) bool {
  5287  	return js.True == bindings.SetHTMLMeterElementMax(
  5288  		this.ref,
  5289  		float64(val),
  5290  	)
  5291  }
  5292  
  5293  // Low returns the value of property "HTMLMeterElement.low".
  5294  //
  5295  // It returns ok=false if there is no such property.
  5296  func (this HTMLMeterElement) Low() (ret float64, ok bool) {
  5297  	ok = js.True == bindings.GetHTMLMeterElementLow(
  5298  		this.ref, js.Pointer(&ret),
  5299  	)
  5300  	return
  5301  }
  5302  
  5303  // SetLow sets the value of property "HTMLMeterElement.low" to val.
  5304  //
  5305  // It returns false if the property cannot be set.
  5306  func (this HTMLMeterElement) SetLow(val float64) bool {
  5307  	return js.True == bindings.SetHTMLMeterElementLow(
  5308  		this.ref,
  5309  		float64(val),
  5310  	)
  5311  }
  5312  
  5313  // High returns the value of property "HTMLMeterElement.high".
  5314  //
  5315  // It returns ok=false if there is no such property.
  5316  func (this HTMLMeterElement) High() (ret float64, ok bool) {
  5317  	ok = js.True == bindings.GetHTMLMeterElementHigh(
  5318  		this.ref, js.Pointer(&ret),
  5319  	)
  5320  	return
  5321  }
  5322  
  5323  // SetHigh sets the value of property "HTMLMeterElement.high" to val.
  5324  //
  5325  // It returns false if the property cannot be set.
  5326  func (this HTMLMeterElement) SetHigh(val float64) bool {
  5327  	return js.True == bindings.SetHTMLMeterElementHigh(
  5328  		this.ref,
  5329  		float64(val),
  5330  	)
  5331  }
  5332  
  5333  // Optimum returns the value of property "HTMLMeterElement.optimum".
  5334  //
  5335  // It returns ok=false if there is no such property.
  5336  func (this HTMLMeterElement) Optimum() (ret float64, ok bool) {
  5337  	ok = js.True == bindings.GetHTMLMeterElementOptimum(
  5338  		this.ref, js.Pointer(&ret),
  5339  	)
  5340  	return
  5341  }
  5342  
  5343  // SetOptimum sets the value of property "HTMLMeterElement.optimum" to val.
  5344  //
  5345  // It returns false if the property cannot be set.
  5346  func (this HTMLMeterElement) SetOptimum(val float64) bool {
  5347  	return js.True == bindings.SetHTMLMeterElementOptimum(
  5348  		this.ref,
  5349  		float64(val),
  5350  	)
  5351  }
  5352  
  5353  // Labels returns the value of property "HTMLMeterElement.labels".
  5354  //
  5355  // It returns ok=false if there is no such property.
  5356  func (this HTMLMeterElement) Labels() (ret NodeList, ok bool) {
  5357  	ok = js.True == bindings.GetHTMLMeterElementLabels(
  5358  		this.ref, js.Pointer(&ret),
  5359  	)
  5360  	return
  5361  }
  5362  
  5363  type HTMLModElement struct {
  5364  	HTMLElement
  5365  }
  5366  
  5367  func (this HTMLModElement) Once() HTMLModElement {
  5368  	this.ref.Once()
  5369  	return this
  5370  }
  5371  
  5372  func (this HTMLModElement) Ref() js.Ref {
  5373  	return this.HTMLElement.Ref()
  5374  }
  5375  
  5376  func (this HTMLModElement) FromRef(ref js.Ref) HTMLModElement {
  5377  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  5378  	return this
  5379  }
  5380  
  5381  func (this HTMLModElement) Free() {
  5382  	this.ref.Free()
  5383  }
  5384  
  5385  // Cite returns the value of property "HTMLModElement.cite".
  5386  //
  5387  // It returns ok=false if there is no such property.
  5388  func (this HTMLModElement) Cite() (ret js.String, ok bool) {
  5389  	ok = js.True == bindings.GetHTMLModElementCite(
  5390  		this.ref, js.Pointer(&ret),
  5391  	)
  5392  	return
  5393  }
  5394  
  5395  // SetCite sets the value of property "HTMLModElement.cite" to val.
  5396  //
  5397  // It returns false if the property cannot be set.
  5398  func (this HTMLModElement) SetCite(val js.String) bool {
  5399  	return js.True == bindings.SetHTMLModElementCite(
  5400  		this.ref,
  5401  		val.Ref(),
  5402  	)
  5403  }
  5404  
  5405  // DateTime returns the value of property "HTMLModElement.dateTime".
  5406  //
  5407  // It returns ok=false if there is no such property.
  5408  func (this HTMLModElement) DateTime() (ret js.String, ok bool) {
  5409  	ok = js.True == bindings.GetHTMLModElementDateTime(
  5410  		this.ref, js.Pointer(&ret),
  5411  	)
  5412  	return
  5413  }
  5414  
  5415  // SetDateTime sets the value of property "HTMLModElement.dateTime" to val.
  5416  //
  5417  // It returns false if the property cannot be set.
  5418  func (this HTMLModElement) SetDateTime(val js.String) bool {
  5419  	return js.True == bindings.SetHTMLModElementDateTime(
  5420  		this.ref,
  5421  		val.Ref(),
  5422  	)
  5423  }
  5424  
  5425  type HTMLModelElement struct {
  5426  	HTMLElement
  5427  }
  5428  
  5429  func (this HTMLModelElement) Once() HTMLModelElement {
  5430  	this.ref.Once()
  5431  	return this
  5432  }
  5433  
  5434  func (this HTMLModelElement) Ref() js.Ref {
  5435  	return this.HTMLElement.Ref()
  5436  }
  5437  
  5438  func (this HTMLModelElement) FromRef(ref js.Ref) HTMLModelElement {
  5439  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  5440  	return this
  5441  }
  5442  
  5443  func (this HTMLModelElement) Free() {
  5444  	this.ref.Free()
  5445  }
  5446  
  5447  type HTMLOListElement struct {
  5448  	HTMLElement
  5449  }
  5450  
  5451  func (this HTMLOListElement) Once() HTMLOListElement {
  5452  	this.ref.Once()
  5453  	return this
  5454  }
  5455  
  5456  func (this HTMLOListElement) Ref() js.Ref {
  5457  	return this.HTMLElement.Ref()
  5458  }
  5459  
  5460  func (this HTMLOListElement) FromRef(ref js.Ref) HTMLOListElement {
  5461  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  5462  	return this
  5463  }
  5464  
  5465  func (this HTMLOListElement) Free() {
  5466  	this.ref.Free()
  5467  }
  5468  
  5469  // Reversed returns the value of property "HTMLOListElement.reversed".
  5470  //
  5471  // It returns ok=false if there is no such property.
  5472  func (this HTMLOListElement) Reversed() (ret bool, ok bool) {
  5473  	ok = js.True == bindings.GetHTMLOListElementReversed(
  5474  		this.ref, js.Pointer(&ret),
  5475  	)
  5476  	return
  5477  }
  5478  
  5479  // SetReversed sets the value of property "HTMLOListElement.reversed" to val.
  5480  //
  5481  // It returns false if the property cannot be set.
  5482  func (this HTMLOListElement) SetReversed(val bool) bool {
  5483  	return js.True == bindings.SetHTMLOListElementReversed(
  5484  		this.ref,
  5485  		js.Bool(bool(val)),
  5486  	)
  5487  }
  5488  
  5489  // Start returns the value of property "HTMLOListElement.start".
  5490  //
  5491  // It returns ok=false if there is no such property.
  5492  func (this HTMLOListElement) Start() (ret int32, ok bool) {
  5493  	ok = js.True == bindings.GetHTMLOListElementStart(
  5494  		this.ref, js.Pointer(&ret),
  5495  	)
  5496  	return
  5497  }
  5498  
  5499  // SetStart sets the value of property "HTMLOListElement.start" to val.
  5500  //
  5501  // It returns false if the property cannot be set.
  5502  func (this HTMLOListElement) SetStart(val int32) bool {
  5503  	return js.True == bindings.SetHTMLOListElementStart(
  5504  		this.ref,
  5505  		int32(val),
  5506  	)
  5507  }
  5508  
  5509  // Type returns the value of property "HTMLOListElement.type".
  5510  //
  5511  // It returns ok=false if there is no such property.
  5512  func (this HTMLOListElement) Type() (ret js.String, ok bool) {
  5513  	ok = js.True == bindings.GetHTMLOListElementType(
  5514  		this.ref, js.Pointer(&ret),
  5515  	)
  5516  	return
  5517  }
  5518  
  5519  // SetType sets the value of property "HTMLOListElement.type" to val.
  5520  //
  5521  // It returns false if the property cannot be set.
  5522  func (this HTMLOListElement) SetType(val js.String) bool {
  5523  	return js.True == bindings.SetHTMLOListElementType(
  5524  		this.ref,
  5525  		val.Ref(),
  5526  	)
  5527  }
  5528  
  5529  // Compact returns the value of property "HTMLOListElement.compact".
  5530  //
  5531  // It returns ok=false if there is no such property.
  5532  func (this HTMLOListElement) Compact() (ret bool, ok bool) {
  5533  	ok = js.True == bindings.GetHTMLOListElementCompact(
  5534  		this.ref, js.Pointer(&ret),
  5535  	)
  5536  	return
  5537  }
  5538  
  5539  // SetCompact sets the value of property "HTMLOListElement.compact" to val.
  5540  //
  5541  // It returns false if the property cannot be set.
  5542  func (this HTMLOListElement) SetCompact(val bool) bool {
  5543  	return js.True == bindings.SetHTMLOListElementCompact(
  5544  		this.ref,
  5545  		js.Bool(bool(val)),
  5546  	)
  5547  }
  5548  
  5549  type HTMLObjectElement struct {
  5550  	HTMLElement
  5551  }
  5552  
  5553  func (this HTMLObjectElement) Once() HTMLObjectElement {
  5554  	this.ref.Once()
  5555  	return this
  5556  }
  5557  
  5558  func (this HTMLObjectElement) Ref() js.Ref {
  5559  	return this.HTMLElement.Ref()
  5560  }
  5561  
  5562  func (this HTMLObjectElement) FromRef(ref js.Ref) HTMLObjectElement {
  5563  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  5564  	return this
  5565  }
  5566  
  5567  func (this HTMLObjectElement) Free() {
  5568  	this.ref.Free()
  5569  }
  5570  
  5571  // Data returns the value of property "HTMLObjectElement.data".
  5572  //
  5573  // It returns ok=false if there is no such property.
  5574  func (this HTMLObjectElement) Data() (ret js.String, ok bool) {
  5575  	ok = js.True == bindings.GetHTMLObjectElementData(
  5576  		this.ref, js.Pointer(&ret),
  5577  	)
  5578  	return
  5579  }
  5580  
  5581  // SetData sets the value of property "HTMLObjectElement.data" to val.
  5582  //
  5583  // It returns false if the property cannot be set.
  5584  func (this HTMLObjectElement) SetData(val js.String) bool {
  5585  	return js.True == bindings.SetHTMLObjectElementData(
  5586  		this.ref,
  5587  		val.Ref(),
  5588  	)
  5589  }
  5590  
  5591  // Type returns the value of property "HTMLObjectElement.type".
  5592  //
  5593  // It returns ok=false if there is no such property.
  5594  func (this HTMLObjectElement) Type() (ret js.String, ok bool) {
  5595  	ok = js.True == bindings.GetHTMLObjectElementType(
  5596  		this.ref, js.Pointer(&ret),
  5597  	)
  5598  	return
  5599  }
  5600  
  5601  // SetType sets the value of property "HTMLObjectElement.type" to val.
  5602  //
  5603  // It returns false if the property cannot be set.
  5604  func (this HTMLObjectElement) SetType(val js.String) bool {
  5605  	return js.True == bindings.SetHTMLObjectElementType(
  5606  		this.ref,
  5607  		val.Ref(),
  5608  	)
  5609  }
  5610  
  5611  // Name returns the value of property "HTMLObjectElement.name".
  5612  //
  5613  // It returns ok=false if there is no such property.
  5614  func (this HTMLObjectElement) Name() (ret js.String, ok bool) {
  5615  	ok = js.True == bindings.GetHTMLObjectElementName(
  5616  		this.ref, js.Pointer(&ret),
  5617  	)
  5618  	return
  5619  }
  5620  
  5621  // SetName sets the value of property "HTMLObjectElement.name" to val.
  5622  //
  5623  // It returns false if the property cannot be set.
  5624  func (this HTMLObjectElement) SetName(val js.String) bool {
  5625  	return js.True == bindings.SetHTMLObjectElementName(
  5626  		this.ref,
  5627  		val.Ref(),
  5628  	)
  5629  }
  5630  
  5631  // Form returns the value of property "HTMLObjectElement.form".
  5632  //
  5633  // It returns ok=false if there is no such property.
  5634  func (this HTMLObjectElement) Form() (ret HTMLFormElement, ok bool) {
  5635  	ok = js.True == bindings.GetHTMLObjectElementForm(
  5636  		this.ref, js.Pointer(&ret),
  5637  	)
  5638  	return
  5639  }
  5640  
  5641  // Width returns the value of property "HTMLObjectElement.width".
  5642  //
  5643  // It returns ok=false if there is no such property.
  5644  func (this HTMLObjectElement) Width() (ret js.String, ok bool) {
  5645  	ok = js.True == bindings.GetHTMLObjectElementWidth(
  5646  		this.ref, js.Pointer(&ret),
  5647  	)
  5648  	return
  5649  }
  5650  
  5651  // SetWidth sets the value of property "HTMLObjectElement.width" to val.
  5652  //
  5653  // It returns false if the property cannot be set.
  5654  func (this HTMLObjectElement) SetWidth(val js.String) bool {
  5655  	return js.True == bindings.SetHTMLObjectElementWidth(
  5656  		this.ref,
  5657  		val.Ref(),
  5658  	)
  5659  }
  5660  
  5661  // Height returns the value of property "HTMLObjectElement.height".
  5662  //
  5663  // It returns ok=false if there is no such property.
  5664  func (this HTMLObjectElement) Height() (ret js.String, ok bool) {
  5665  	ok = js.True == bindings.GetHTMLObjectElementHeight(
  5666  		this.ref, js.Pointer(&ret),
  5667  	)
  5668  	return
  5669  }
  5670  
  5671  // SetHeight sets the value of property "HTMLObjectElement.height" to val.
  5672  //
  5673  // It returns false if the property cannot be set.
  5674  func (this HTMLObjectElement) SetHeight(val js.String) bool {
  5675  	return js.True == bindings.SetHTMLObjectElementHeight(
  5676  		this.ref,
  5677  		val.Ref(),
  5678  	)
  5679  }
  5680  
  5681  // ContentDocument returns the value of property "HTMLObjectElement.contentDocument".
  5682  //
  5683  // It returns ok=false if there is no such property.
  5684  func (this HTMLObjectElement) ContentDocument() (ret Document, ok bool) {
  5685  	ok = js.True == bindings.GetHTMLObjectElementContentDocument(
  5686  		this.ref, js.Pointer(&ret),
  5687  	)
  5688  	return
  5689  }
  5690  
  5691  // ContentWindow returns the value of property "HTMLObjectElement.contentWindow".
  5692  //
  5693  // It returns ok=false if there is no such property.
  5694  func (this HTMLObjectElement) ContentWindow() (ret js.Object, ok bool) {
  5695  	ok = js.True == bindings.GetHTMLObjectElementContentWindow(
  5696  		this.ref, js.Pointer(&ret),
  5697  	)
  5698  	return
  5699  }
  5700  
  5701  // WillValidate returns the value of property "HTMLObjectElement.willValidate".
  5702  //
  5703  // It returns ok=false if there is no such property.
  5704  func (this HTMLObjectElement) WillValidate() (ret bool, ok bool) {
  5705  	ok = js.True == bindings.GetHTMLObjectElementWillValidate(
  5706  		this.ref, js.Pointer(&ret),
  5707  	)
  5708  	return
  5709  }
  5710  
  5711  // Validity returns the value of property "HTMLObjectElement.validity".
  5712  //
  5713  // It returns ok=false if there is no such property.
  5714  func (this HTMLObjectElement) Validity() (ret ValidityState, ok bool) {
  5715  	ok = js.True == bindings.GetHTMLObjectElementValidity(
  5716  		this.ref, js.Pointer(&ret),
  5717  	)
  5718  	return
  5719  }
  5720  
  5721  // ValidationMessage returns the value of property "HTMLObjectElement.validationMessage".
  5722  //
  5723  // It returns ok=false if there is no such property.
  5724  func (this HTMLObjectElement) ValidationMessage() (ret js.String, ok bool) {
  5725  	ok = js.True == bindings.GetHTMLObjectElementValidationMessage(
  5726  		this.ref, js.Pointer(&ret),
  5727  	)
  5728  	return
  5729  }
  5730  
  5731  // Align returns the value of property "HTMLObjectElement.align".
  5732  //
  5733  // It returns ok=false if there is no such property.
  5734  func (this HTMLObjectElement) Align() (ret js.String, ok bool) {
  5735  	ok = js.True == bindings.GetHTMLObjectElementAlign(
  5736  		this.ref, js.Pointer(&ret),
  5737  	)
  5738  	return
  5739  }
  5740  
  5741  // SetAlign sets the value of property "HTMLObjectElement.align" to val.
  5742  //
  5743  // It returns false if the property cannot be set.
  5744  func (this HTMLObjectElement) SetAlign(val js.String) bool {
  5745  	return js.True == bindings.SetHTMLObjectElementAlign(
  5746  		this.ref,
  5747  		val.Ref(),
  5748  	)
  5749  }
  5750  
  5751  // Archive returns the value of property "HTMLObjectElement.archive".
  5752  //
  5753  // It returns ok=false if there is no such property.
  5754  func (this HTMLObjectElement) Archive() (ret js.String, ok bool) {
  5755  	ok = js.True == bindings.GetHTMLObjectElementArchive(
  5756  		this.ref, js.Pointer(&ret),
  5757  	)
  5758  	return
  5759  }
  5760  
  5761  // SetArchive sets the value of property "HTMLObjectElement.archive" to val.
  5762  //
  5763  // It returns false if the property cannot be set.
  5764  func (this HTMLObjectElement) SetArchive(val js.String) bool {
  5765  	return js.True == bindings.SetHTMLObjectElementArchive(
  5766  		this.ref,
  5767  		val.Ref(),
  5768  	)
  5769  }
  5770  
  5771  // Code returns the value of property "HTMLObjectElement.code".
  5772  //
  5773  // It returns ok=false if there is no such property.
  5774  func (this HTMLObjectElement) Code() (ret js.String, ok bool) {
  5775  	ok = js.True == bindings.GetHTMLObjectElementCode(
  5776  		this.ref, js.Pointer(&ret),
  5777  	)
  5778  	return
  5779  }
  5780  
  5781  // SetCode sets the value of property "HTMLObjectElement.code" to val.
  5782  //
  5783  // It returns false if the property cannot be set.
  5784  func (this HTMLObjectElement) SetCode(val js.String) bool {
  5785  	return js.True == bindings.SetHTMLObjectElementCode(
  5786  		this.ref,
  5787  		val.Ref(),
  5788  	)
  5789  }
  5790  
  5791  // Declare returns the value of property "HTMLObjectElement.declare".
  5792  //
  5793  // It returns ok=false if there is no such property.
  5794  func (this HTMLObjectElement) Declare() (ret bool, ok bool) {
  5795  	ok = js.True == bindings.GetHTMLObjectElementDeclare(
  5796  		this.ref, js.Pointer(&ret),
  5797  	)
  5798  	return
  5799  }
  5800  
  5801  // SetDeclare sets the value of property "HTMLObjectElement.declare" to val.
  5802  //
  5803  // It returns false if the property cannot be set.
  5804  func (this HTMLObjectElement) SetDeclare(val bool) bool {
  5805  	return js.True == bindings.SetHTMLObjectElementDeclare(
  5806  		this.ref,
  5807  		js.Bool(bool(val)),
  5808  	)
  5809  }
  5810  
  5811  // Hspace returns the value of property "HTMLObjectElement.hspace".
  5812  //
  5813  // It returns ok=false if there is no such property.
  5814  func (this HTMLObjectElement) Hspace() (ret uint32, ok bool) {
  5815  	ok = js.True == bindings.GetHTMLObjectElementHspace(
  5816  		this.ref, js.Pointer(&ret),
  5817  	)
  5818  	return
  5819  }
  5820  
  5821  // SetHspace sets the value of property "HTMLObjectElement.hspace" to val.
  5822  //
  5823  // It returns false if the property cannot be set.
  5824  func (this HTMLObjectElement) SetHspace(val uint32) bool {
  5825  	return js.True == bindings.SetHTMLObjectElementHspace(
  5826  		this.ref,
  5827  		uint32(val),
  5828  	)
  5829  }
  5830  
  5831  // Standby returns the value of property "HTMLObjectElement.standby".
  5832  //
  5833  // It returns ok=false if there is no such property.
  5834  func (this HTMLObjectElement) Standby() (ret js.String, ok bool) {
  5835  	ok = js.True == bindings.GetHTMLObjectElementStandby(
  5836  		this.ref, js.Pointer(&ret),
  5837  	)
  5838  	return
  5839  }
  5840  
  5841  // SetStandby sets the value of property "HTMLObjectElement.standby" to val.
  5842  //
  5843  // It returns false if the property cannot be set.
  5844  func (this HTMLObjectElement) SetStandby(val js.String) bool {
  5845  	return js.True == bindings.SetHTMLObjectElementStandby(
  5846  		this.ref,
  5847  		val.Ref(),
  5848  	)
  5849  }
  5850  
  5851  // Vspace returns the value of property "HTMLObjectElement.vspace".
  5852  //
  5853  // It returns ok=false if there is no such property.
  5854  func (this HTMLObjectElement) Vspace() (ret uint32, ok bool) {
  5855  	ok = js.True == bindings.GetHTMLObjectElementVspace(
  5856  		this.ref, js.Pointer(&ret),
  5857  	)
  5858  	return
  5859  }
  5860  
  5861  // SetVspace sets the value of property "HTMLObjectElement.vspace" to val.
  5862  //
  5863  // It returns false if the property cannot be set.
  5864  func (this HTMLObjectElement) SetVspace(val uint32) bool {
  5865  	return js.True == bindings.SetHTMLObjectElementVspace(
  5866  		this.ref,
  5867  		uint32(val),
  5868  	)
  5869  }
  5870  
  5871  // CodeBase returns the value of property "HTMLObjectElement.codeBase".
  5872  //
  5873  // It returns ok=false if there is no such property.
  5874  func (this HTMLObjectElement) CodeBase() (ret js.String, ok bool) {
  5875  	ok = js.True == bindings.GetHTMLObjectElementCodeBase(
  5876  		this.ref, js.Pointer(&ret),
  5877  	)
  5878  	return
  5879  }
  5880  
  5881  // SetCodeBase sets the value of property "HTMLObjectElement.codeBase" to val.
  5882  //
  5883  // It returns false if the property cannot be set.
  5884  func (this HTMLObjectElement) SetCodeBase(val js.String) bool {
  5885  	return js.True == bindings.SetHTMLObjectElementCodeBase(
  5886  		this.ref,
  5887  		val.Ref(),
  5888  	)
  5889  }
  5890  
  5891  // CodeType returns the value of property "HTMLObjectElement.codeType".
  5892  //
  5893  // It returns ok=false if there is no such property.
  5894  func (this HTMLObjectElement) CodeType() (ret js.String, ok bool) {
  5895  	ok = js.True == bindings.GetHTMLObjectElementCodeType(
  5896  		this.ref, js.Pointer(&ret),
  5897  	)
  5898  	return
  5899  }
  5900  
  5901  // SetCodeType sets the value of property "HTMLObjectElement.codeType" to val.
  5902  //
  5903  // It returns false if the property cannot be set.
  5904  func (this HTMLObjectElement) SetCodeType(val js.String) bool {
  5905  	return js.True == bindings.SetHTMLObjectElementCodeType(
  5906  		this.ref,
  5907  		val.Ref(),
  5908  	)
  5909  }
  5910  
  5911  // UseMap returns the value of property "HTMLObjectElement.useMap".
  5912  //
  5913  // It returns ok=false if there is no such property.
  5914  func (this HTMLObjectElement) UseMap() (ret js.String, ok bool) {
  5915  	ok = js.True == bindings.GetHTMLObjectElementUseMap(
  5916  		this.ref, js.Pointer(&ret),
  5917  	)
  5918  	return
  5919  }
  5920  
  5921  // SetUseMap sets the value of property "HTMLObjectElement.useMap" to val.
  5922  //
  5923  // It returns false if the property cannot be set.
  5924  func (this HTMLObjectElement) SetUseMap(val js.String) bool {
  5925  	return js.True == bindings.SetHTMLObjectElementUseMap(
  5926  		this.ref,
  5927  		val.Ref(),
  5928  	)
  5929  }
  5930  
  5931  // Border returns the value of property "HTMLObjectElement.border".
  5932  //
  5933  // It returns ok=false if there is no such property.
  5934  func (this HTMLObjectElement) Border() (ret js.String, ok bool) {
  5935  	ok = js.True == bindings.GetHTMLObjectElementBorder(
  5936  		this.ref, js.Pointer(&ret),
  5937  	)
  5938  	return
  5939  }
  5940  
  5941  // SetBorder sets the value of property "HTMLObjectElement.border" to val.
  5942  //
  5943  // It returns false if the property cannot be set.
  5944  func (this HTMLObjectElement) SetBorder(val js.String) bool {
  5945  	return js.True == bindings.SetHTMLObjectElementBorder(
  5946  		this.ref,
  5947  		val.Ref(),
  5948  	)
  5949  }
  5950  
  5951  // HasFuncGetSVGDocument returns true if the method "HTMLObjectElement.getSVGDocument" exists.
  5952  func (this HTMLObjectElement) HasFuncGetSVGDocument() bool {
  5953  	return js.True == bindings.HasFuncHTMLObjectElementGetSVGDocument(
  5954  		this.ref,
  5955  	)
  5956  }
  5957  
  5958  // FuncGetSVGDocument returns the method "HTMLObjectElement.getSVGDocument".
  5959  func (this HTMLObjectElement) FuncGetSVGDocument() (fn js.Func[func() Document]) {
  5960  	bindings.FuncHTMLObjectElementGetSVGDocument(
  5961  		this.ref, js.Pointer(&fn),
  5962  	)
  5963  	return
  5964  }
  5965  
  5966  // GetSVGDocument calls the method "HTMLObjectElement.getSVGDocument".
  5967  func (this HTMLObjectElement) GetSVGDocument() (ret Document) {
  5968  	bindings.CallHTMLObjectElementGetSVGDocument(
  5969  		this.ref, js.Pointer(&ret),
  5970  	)
  5971  
  5972  	return
  5973  }
  5974  
  5975  // TryGetSVGDocument calls the method "HTMLObjectElement.getSVGDocument"
  5976  // in a try/catch block and returns (_, err, ok = false) when it went through
  5977  // the catch clause.
  5978  func (this HTMLObjectElement) TryGetSVGDocument() (ret Document, exception js.Any, ok bool) {
  5979  	ok = js.True == bindings.TryHTMLObjectElementGetSVGDocument(
  5980  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5981  	)
  5982  
  5983  	return
  5984  }
  5985  
  5986  // HasFuncCheckValidity returns true if the method "HTMLObjectElement.checkValidity" exists.
  5987  func (this HTMLObjectElement) HasFuncCheckValidity() bool {
  5988  	return js.True == bindings.HasFuncHTMLObjectElementCheckValidity(
  5989  		this.ref,
  5990  	)
  5991  }
  5992  
  5993  // FuncCheckValidity returns the method "HTMLObjectElement.checkValidity".
  5994  func (this HTMLObjectElement) FuncCheckValidity() (fn js.Func[func() bool]) {
  5995  	bindings.FuncHTMLObjectElementCheckValidity(
  5996  		this.ref, js.Pointer(&fn),
  5997  	)
  5998  	return
  5999  }
  6000  
  6001  // CheckValidity calls the method "HTMLObjectElement.checkValidity".
  6002  func (this HTMLObjectElement) CheckValidity() (ret bool) {
  6003  	bindings.CallHTMLObjectElementCheckValidity(
  6004  		this.ref, js.Pointer(&ret),
  6005  	)
  6006  
  6007  	return
  6008  }
  6009  
  6010  // TryCheckValidity calls the method "HTMLObjectElement.checkValidity"
  6011  // in a try/catch block and returns (_, err, ok = false) when it went through
  6012  // the catch clause.
  6013  func (this HTMLObjectElement) TryCheckValidity() (ret bool, exception js.Any, ok bool) {
  6014  	ok = js.True == bindings.TryHTMLObjectElementCheckValidity(
  6015  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6016  	)
  6017  
  6018  	return
  6019  }
  6020  
  6021  // HasFuncReportValidity returns true if the method "HTMLObjectElement.reportValidity" exists.
  6022  func (this HTMLObjectElement) HasFuncReportValidity() bool {
  6023  	return js.True == bindings.HasFuncHTMLObjectElementReportValidity(
  6024  		this.ref,
  6025  	)
  6026  }
  6027  
  6028  // FuncReportValidity returns the method "HTMLObjectElement.reportValidity".
  6029  func (this HTMLObjectElement) FuncReportValidity() (fn js.Func[func() bool]) {
  6030  	bindings.FuncHTMLObjectElementReportValidity(
  6031  		this.ref, js.Pointer(&fn),
  6032  	)
  6033  	return
  6034  }
  6035  
  6036  // ReportValidity calls the method "HTMLObjectElement.reportValidity".
  6037  func (this HTMLObjectElement) ReportValidity() (ret bool) {
  6038  	bindings.CallHTMLObjectElementReportValidity(
  6039  		this.ref, js.Pointer(&ret),
  6040  	)
  6041  
  6042  	return
  6043  }
  6044  
  6045  // TryReportValidity calls the method "HTMLObjectElement.reportValidity"
  6046  // in a try/catch block and returns (_, err, ok = false) when it went through
  6047  // the catch clause.
  6048  func (this HTMLObjectElement) TryReportValidity() (ret bool, exception js.Any, ok bool) {
  6049  	ok = js.True == bindings.TryHTMLObjectElementReportValidity(
  6050  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6051  	)
  6052  
  6053  	return
  6054  }
  6055  
  6056  // HasFuncSetCustomValidity returns true if the method "HTMLObjectElement.setCustomValidity" exists.
  6057  func (this HTMLObjectElement) HasFuncSetCustomValidity() bool {
  6058  	return js.True == bindings.HasFuncHTMLObjectElementSetCustomValidity(
  6059  		this.ref,
  6060  	)
  6061  }
  6062  
  6063  // FuncSetCustomValidity returns the method "HTMLObjectElement.setCustomValidity".
  6064  func (this HTMLObjectElement) FuncSetCustomValidity() (fn js.Func[func(err js.String)]) {
  6065  	bindings.FuncHTMLObjectElementSetCustomValidity(
  6066  		this.ref, js.Pointer(&fn),
  6067  	)
  6068  	return
  6069  }
  6070  
  6071  // SetCustomValidity calls the method "HTMLObjectElement.setCustomValidity".
  6072  func (this HTMLObjectElement) SetCustomValidity(err js.String) (ret js.Void) {
  6073  	bindings.CallHTMLObjectElementSetCustomValidity(
  6074  		this.ref, js.Pointer(&ret),
  6075  		err.Ref(),
  6076  	)
  6077  
  6078  	return
  6079  }
  6080  
  6081  // TrySetCustomValidity calls the method "HTMLObjectElement.setCustomValidity"
  6082  // in a try/catch block and returns (_, err, ok = false) when it went through
  6083  // the catch clause.
  6084  func (this HTMLObjectElement) TrySetCustomValidity(err js.String) (ret js.Void, exception js.Any, ok bool) {
  6085  	ok = js.True == bindings.TryHTMLObjectElementSetCustomValidity(
  6086  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6087  		err.Ref(),
  6088  	)
  6089  
  6090  	return
  6091  }
  6092  
  6093  type HTMLOptGroupElement struct {
  6094  	HTMLElement
  6095  }
  6096  
  6097  func (this HTMLOptGroupElement) Once() HTMLOptGroupElement {
  6098  	this.ref.Once()
  6099  	return this
  6100  }
  6101  
  6102  func (this HTMLOptGroupElement) Ref() js.Ref {
  6103  	return this.HTMLElement.Ref()
  6104  }
  6105  
  6106  func (this HTMLOptGroupElement) FromRef(ref js.Ref) HTMLOptGroupElement {
  6107  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  6108  	return this
  6109  }
  6110  
  6111  func (this HTMLOptGroupElement) Free() {
  6112  	this.ref.Free()
  6113  }
  6114  
  6115  // Disabled returns the value of property "HTMLOptGroupElement.disabled".
  6116  //
  6117  // It returns ok=false if there is no such property.
  6118  func (this HTMLOptGroupElement) Disabled() (ret bool, ok bool) {
  6119  	ok = js.True == bindings.GetHTMLOptGroupElementDisabled(
  6120  		this.ref, js.Pointer(&ret),
  6121  	)
  6122  	return
  6123  }
  6124  
  6125  // SetDisabled sets the value of property "HTMLOptGroupElement.disabled" to val.
  6126  //
  6127  // It returns false if the property cannot be set.
  6128  func (this HTMLOptGroupElement) SetDisabled(val bool) bool {
  6129  	return js.True == bindings.SetHTMLOptGroupElementDisabled(
  6130  		this.ref,
  6131  		js.Bool(bool(val)),
  6132  	)
  6133  }
  6134  
  6135  // Label returns the value of property "HTMLOptGroupElement.label".
  6136  //
  6137  // It returns ok=false if there is no such property.
  6138  func (this HTMLOptGroupElement) Label() (ret js.String, ok bool) {
  6139  	ok = js.True == bindings.GetHTMLOptGroupElementLabel(
  6140  		this.ref, js.Pointer(&ret),
  6141  	)
  6142  	return
  6143  }
  6144  
  6145  // SetLabel sets the value of property "HTMLOptGroupElement.label" to val.
  6146  //
  6147  // It returns false if the property cannot be set.
  6148  func (this HTMLOptGroupElement) SetLabel(val js.String) bool {
  6149  	return js.True == bindings.SetHTMLOptGroupElementLabel(
  6150  		this.ref,
  6151  		val.Ref(),
  6152  	)
  6153  }
  6154  
  6155  type HTMLOptionElement struct {
  6156  	HTMLElement
  6157  }
  6158  
  6159  func (this HTMLOptionElement) Once() HTMLOptionElement {
  6160  	this.ref.Once()
  6161  	return this
  6162  }
  6163  
  6164  func (this HTMLOptionElement) Ref() js.Ref {
  6165  	return this.HTMLElement.Ref()
  6166  }
  6167  
  6168  func (this HTMLOptionElement) FromRef(ref js.Ref) HTMLOptionElement {
  6169  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  6170  	return this
  6171  }
  6172  
  6173  func (this HTMLOptionElement) Free() {
  6174  	this.ref.Free()
  6175  }
  6176  
  6177  // Disabled returns the value of property "HTMLOptionElement.disabled".
  6178  //
  6179  // It returns ok=false if there is no such property.
  6180  func (this HTMLOptionElement) Disabled() (ret bool, ok bool) {
  6181  	ok = js.True == bindings.GetHTMLOptionElementDisabled(
  6182  		this.ref, js.Pointer(&ret),
  6183  	)
  6184  	return
  6185  }
  6186  
  6187  // SetDisabled sets the value of property "HTMLOptionElement.disabled" to val.
  6188  //
  6189  // It returns false if the property cannot be set.
  6190  func (this HTMLOptionElement) SetDisabled(val bool) bool {
  6191  	return js.True == bindings.SetHTMLOptionElementDisabled(
  6192  		this.ref,
  6193  		js.Bool(bool(val)),
  6194  	)
  6195  }
  6196  
  6197  // Form returns the value of property "HTMLOptionElement.form".
  6198  //
  6199  // It returns ok=false if there is no such property.
  6200  func (this HTMLOptionElement) Form() (ret HTMLFormElement, ok bool) {
  6201  	ok = js.True == bindings.GetHTMLOptionElementForm(
  6202  		this.ref, js.Pointer(&ret),
  6203  	)
  6204  	return
  6205  }
  6206  
  6207  // Label returns the value of property "HTMLOptionElement.label".
  6208  //
  6209  // It returns ok=false if there is no such property.
  6210  func (this HTMLOptionElement) Label() (ret js.String, ok bool) {
  6211  	ok = js.True == bindings.GetHTMLOptionElementLabel(
  6212  		this.ref, js.Pointer(&ret),
  6213  	)
  6214  	return
  6215  }
  6216  
  6217  // SetLabel sets the value of property "HTMLOptionElement.label" to val.
  6218  //
  6219  // It returns false if the property cannot be set.
  6220  func (this HTMLOptionElement) SetLabel(val js.String) bool {
  6221  	return js.True == bindings.SetHTMLOptionElementLabel(
  6222  		this.ref,
  6223  		val.Ref(),
  6224  	)
  6225  }
  6226  
  6227  // DefaultSelected returns the value of property "HTMLOptionElement.defaultSelected".
  6228  //
  6229  // It returns ok=false if there is no such property.
  6230  func (this HTMLOptionElement) DefaultSelected() (ret bool, ok bool) {
  6231  	ok = js.True == bindings.GetHTMLOptionElementDefaultSelected(
  6232  		this.ref, js.Pointer(&ret),
  6233  	)
  6234  	return
  6235  }
  6236  
  6237  // SetDefaultSelected sets the value of property "HTMLOptionElement.defaultSelected" to val.
  6238  //
  6239  // It returns false if the property cannot be set.
  6240  func (this HTMLOptionElement) SetDefaultSelected(val bool) bool {
  6241  	return js.True == bindings.SetHTMLOptionElementDefaultSelected(
  6242  		this.ref,
  6243  		js.Bool(bool(val)),
  6244  	)
  6245  }
  6246  
  6247  // Selected returns the value of property "HTMLOptionElement.selected".
  6248  //
  6249  // It returns ok=false if there is no such property.
  6250  func (this HTMLOptionElement) Selected() (ret bool, ok bool) {
  6251  	ok = js.True == bindings.GetHTMLOptionElementSelected(
  6252  		this.ref, js.Pointer(&ret),
  6253  	)
  6254  	return
  6255  }
  6256  
  6257  // SetSelected sets the value of property "HTMLOptionElement.selected" to val.
  6258  //
  6259  // It returns false if the property cannot be set.
  6260  func (this HTMLOptionElement) SetSelected(val bool) bool {
  6261  	return js.True == bindings.SetHTMLOptionElementSelected(
  6262  		this.ref,
  6263  		js.Bool(bool(val)),
  6264  	)
  6265  }
  6266  
  6267  // Value returns the value of property "HTMLOptionElement.value".
  6268  //
  6269  // It returns ok=false if there is no such property.
  6270  func (this HTMLOptionElement) Value() (ret js.String, ok bool) {
  6271  	ok = js.True == bindings.GetHTMLOptionElementValue(
  6272  		this.ref, js.Pointer(&ret),
  6273  	)
  6274  	return
  6275  }
  6276  
  6277  // SetValue sets the value of property "HTMLOptionElement.value" to val.
  6278  //
  6279  // It returns false if the property cannot be set.
  6280  func (this HTMLOptionElement) SetValue(val js.String) bool {
  6281  	return js.True == bindings.SetHTMLOptionElementValue(
  6282  		this.ref,
  6283  		val.Ref(),
  6284  	)
  6285  }
  6286  
  6287  // Text returns the value of property "HTMLOptionElement.text".
  6288  //
  6289  // It returns ok=false if there is no such property.
  6290  func (this HTMLOptionElement) Text() (ret js.String, ok bool) {
  6291  	ok = js.True == bindings.GetHTMLOptionElementText(
  6292  		this.ref, js.Pointer(&ret),
  6293  	)
  6294  	return
  6295  }
  6296  
  6297  // SetText sets the value of property "HTMLOptionElement.text" to val.
  6298  //
  6299  // It returns false if the property cannot be set.
  6300  func (this HTMLOptionElement) SetText(val js.String) bool {
  6301  	return js.True == bindings.SetHTMLOptionElementText(
  6302  		this.ref,
  6303  		val.Ref(),
  6304  	)
  6305  }
  6306  
  6307  // Index returns the value of property "HTMLOptionElement.index".
  6308  //
  6309  // It returns ok=false if there is no such property.
  6310  func (this HTMLOptionElement) Index() (ret int32, ok bool) {
  6311  	ok = js.True == bindings.GetHTMLOptionElementIndex(
  6312  		this.ref, js.Pointer(&ret),
  6313  	)
  6314  	return
  6315  }
  6316  
  6317  type OneOf_HTMLOptionElement_HTMLOptGroupElement struct {
  6318  	ref js.Ref
  6319  }
  6320  
  6321  func (x OneOf_HTMLOptionElement_HTMLOptGroupElement) Ref() js.Ref {
  6322  	return x.ref
  6323  }
  6324  
  6325  func (x OneOf_HTMLOptionElement_HTMLOptGroupElement) Free() {
  6326  	x.ref.Free()
  6327  }
  6328  
  6329  func (x OneOf_HTMLOptionElement_HTMLOptGroupElement) FromRef(ref js.Ref) OneOf_HTMLOptionElement_HTMLOptGroupElement {
  6330  	return OneOf_HTMLOptionElement_HTMLOptGroupElement{
  6331  		ref: ref,
  6332  	}
  6333  }
  6334  
  6335  func (x OneOf_HTMLOptionElement_HTMLOptGroupElement) HTMLOptionElement() HTMLOptionElement {
  6336  	return HTMLOptionElement{}.FromRef(x.ref)
  6337  }
  6338  
  6339  func (x OneOf_HTMLOptionElement_HTMLOptGroupElement) HTMLOptGroupElement() HTMLOptGroupElement {
  6340  	return HTMLOptGroupElement{}.FromRef(x.ref)
  6341  }
  6342  
  6343  type OneOf_HTMLElement_Int32 struct {
  6344  	ref js.Ref
  6345  }
  6346  
  6347  func (x OneOf_HTMLElement_Int32) Ref() js.Ref {
  6348  	return x.ref
  6349  }
  6350  
  6351  func (x OneOf_HTMLElement_Int32) Free() {
  6352  	x.ref.Free()
  6353  }
  6354  
  6355  func (x OneOf_HTMLElement_Int32) FromRef(ref js.Ref) OneOf_HTMLElement_Int32 {
  6356  	return OneOf_HTMLElement_Int32{
  6357  		ref: ref,
  6358  	}
  6359  }
  6360  
  6361  func (x OneOf_HTMLElement_Int32) HTMLElement() HTMLElement {
  6362  	return HTMLElement{}.FromRef(x.ref)
  6363  }
  6364  
  6365  func (x OneOf_HTMLElement_Int32) Int32() int32 {
  6366  	return js.Number[int32]{}.FromRef(x.ref).Get()
  6367  }
  6368  
  6369  type HTMLOptionsCollection struct {
  6370  	HTMLCollection
  6371  }
  6372  
  6373  func (this HTMLOptionsCollection) Once() HTMLOptionsCollection {
  6374  	this.ref.Once()
  6375  	return this
  6376  }
  6377  
  6378  func (this HTMLOptionsCollection) Ref() js.Ref {
  6379  	return this.HTMLCollection.Ref()
  6380  }
  6381  
  6382  func (this HTMLOptionsCollection) FromRef(ref js.Ref) HTMLOptionsCollection {
  6383  	this.HTMLCollection = this.HTMLCollection.FromRef(ref)
  6384  	return this
  6385  }
  6386  
  6387  func (this HTMLOptionsCollection) Free() {
  6388  	this.ref.Free()
  6389  }
  6390  
  6391  // Length returns the value of property "HTMLOptionsCollection.length".
  6392  //
  6393  // It returns ok=false if there is no such property.
  6394  func (this HTMLOptionsCollection) Length() (ret uint32, ok bool) {
  6395  	ok = js.True == bindings.GetHTMLOptionsCollectionLength(
  6396  		this.ref, js.Pointer(&ret),
  6397  	)
  6398  	return
  6399  }
  6400  
  6401  // SetLength sets the value of property "HTMLOptionsCollection.length" to val.
  6402  //
  6403  // It returns false if the property cannot be set.
  6404  func (this HTMLOptionsCollection) SetLength(val uint32) bool {
  6405  	return js.True == bindings.SetHTMLOptionsCollectionLength(
  6406  		this.ref,
  6407  		uint32(val),
  6408  	)
  6409  }
  6410  
  6411  // SelectedIndex returns the value of property "HTMLOptionsCollection.selectedIndex".
  6412  //
  6413  // It returns ok=false if there is no such property.
  6414  func (this HTMLOptionsCollection) SelectedIndex() (ret int32, ok bool) {
  6415  	ok = js.True == bindings.GetHTMLOptionsCollectionSelectedIndex(
  6416  		this.ref, js.Pointer(&ret),
  6417  	)
  6418  	return
  6419  }
  6420  
  6421  // SetSelectedIndex sets the value of property "HTMLOptionsCollection.selectedIndex" to val.
  6422  //
  6423  // It returns false if the property cannot be set.
  6424  func (this HTMLOptionsCollection) SetSelectedIndex(val int32) bool {
  6425  	return js.True == bindings.SetHTMLOptionsCollectionSelectedIndex(
  6426  		this.ref,
  6427  		int32(val),
  6428  	)
  6429  }
  6430  
  6431  // HasFuncSet returns true if the method "HTMLOptionsCollection." exists.
  6432  func (this HTMLOptionsCollection) HasFuncSet() bool {
  6433  	return js.True == bindings.HasFuncHTMLOptionsCollectionSet(
  6434  		this.ref,
  6435  	)
  6436  }
  6437  
  6438  // FuncSet returns the method "HTMLOptionsCollection.".
  6439  func (this HTMLOptionsCollection) FuncSet() (fn js.Func[func(index uint32, option HTMLOptionElement)]) {
  6440  	bindings.FuncHTMLOptionsCollectionSet(
  6441  		this.ref, js.Pointer(&fn),
  6442  	)
  6443  	return
  6444  }
  6445  
  6446  // Set calls the method "HTMLOptionsCollection.".
  6447  func (this HTMLOptionsCollection) Set(index uint32, option HTMLOptionElement) (ret js.Void) {
  6448  	bindings.CallHTMLOptionsCollectionSet(
  6449  		this.ref, js.Pointer(&ret),
  6450  		uint32(index),
  6451  		option.Ref(),
  6452  	)
  6453  
  6454  	return
  6455  }
  6456  
  6457  // TrySet calls the method "HTMLOptionsCollection."
  6458  // in a try/catch block and returns (_, err, ok = false) when it went through
  6459  // the catch clause.
  6460  func (this HTMLOptionsCollection) TrySet(index uint32, option HTMLOptionElement) (ret js.Void, exception js.Any, ok bool) {
  6461  	ok = js.True == bindings.TryHTMLOptionsCollectionSet(
  6462  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6463  		uint32(index),
  6464  		option.Ref(),
  6465  	)
  6466  
  6467  	return
  6468  }
  6469  
  6470  // HasFuncAdd returns true if the method "HTMLOptionsCollection.add" exists.
  6471  func (this HTMLOptionsCollection) HasFuncAdd() bool {
  6472  	return js.True == bindings.HasFuncHTMLOptionsCollectionAdd(
  6473  		this.ref,
  6474  	)
  6475  }
  6476  
  6477  // FuncAdd returns the method "HTMLOptionsCollection.add".
  6478  func (this HTMLOptionsCollection) FuncAdd() (fn js.Func[func(element OneOf_HTMLOptionElement_HTMLOptGroupElement, before OneOf_HTMLElement_Int32)]) {
  6479  	bindings.FuncHTMLOptionsCollectionAdd(
  6480  		this.ref, js.Pointer(&fn),
  6481  	)
  6482  	return
  6483  }
  6484  
  6485  // Add calls the method "HTMLOptionsCollection.add".
  6486  func (this HTMLOptionsCollection) Add(element OneOf_HTMLOptionElement_HTMLOptGroupElement, before OneOf_HTMLElement_Int32) (ret js.Void) {
  6487  	bindings.CallHTMLOptionsCollectionAdd(
  6488  		this.ref, js.Pointer(&ret),
  6489  		element.Ref(),
  6490  		before.Ref(),
  6491  	)
  6492  
  6493  	return
  6494  }
  6495  
  6496  // TryAdd calls the method "HTMLOptionsCollection.add"
  6497  // in a try/catch block and returns (_, err, ok = false) when it went through
  6498  // the catch clause.
  6499  func (this HTMLOptionsCollection) TryAdd(element OneOf_HTMLOptionElement_HTMLOptGroupElement, before OneOf_HTMLElement_Int32) (ret js.Void, exception js.Any, ok bool) {
  6500  	ok = js.True == bindings.TryHTMLOptionsCollectionAdd(
  6501  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6502  		element.Ref(),
  6503  		before.Ref(),
  6504  	)
  6505  
  6506  	return
  6507  }
  6508  
  6509  // HasFuncAdd1 returns true if the method "HTMLOptionsCollection.add" exists.
  6510  func (this HTMLOptionsCollection) HasFuncAdd1() bool {
  6511  	return js.True == bindings.HasFuncHTMLOptionsCollectionAdd1(
  6512  		this.ref,
  6513  	)
  6514  }
  6515  
  6516  // FuncAdd1 returns the method "HTMLOptionsCollection.add".
  6517  func (this HTMLOptionsCollection) FuncAdd1() (fn js.Func[func(element OneOf_HTMLOptionElement_HTMLOptGroupElement)]) {
  6518  	bindings.FuncHTMLOptionsCollectionAdd1(
  6519  		this.ref, js.Pointer(&fn),
  6520  	)
  6521  	return
  6522  }
  6523  
  6524  // Add1 calls the method "HTMLOptionsCollection.add".
  6525  func (this HTMLOptionsCollection) Add1(element OneOf_HTMLOptionElement_HTMLOptGroupElement) (ret js.Void) {
  6526  	bindings.CallHTMLOptionsCollectionAdd1(
  6527  		this.ref, js.Pointer(&ret),
  6528  		element.Ref(),
  6529  	)
  6530  
  6531  	return
  6532  }
  6533  
  6534  // TryAdd1 calls the method "HTMLOptionsCollection.add"
  6535  // in a try/catch block and returns (_, err, ok = false) when it went through
  6536  // the catch clause.
  6537  func (this HTMLOptionsCollection) TryAdd1(element OneOf_HTMLOptionElement_HTMLOptGroupElement) (ret js.Void, exception js.Any, ok bool) {
  6538  	ok = js.True == bindings.TryHTMLOptionsCollectionAdd1(
  6539  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6540  		element.Ref(),
  6541  	)
  6542  
  6543  	return
  6544  }
  6545  
  6546  // HasFuncRemove returns true if the method "HTMLOptionsCollection.remove" exists.
  6547  func (this HTMLOptionsCollection) HasFuncRemove() bool {
  6548  	return js.True == bindings.HasFuncHTMLOptionsCollectionRemove(
  6549  		this.ref,
  6550  	)
  6551  }
  6552  
  6553  // FuncRemove returns the method "HTMLOptionsCollection.remove".
  6554  func (this HTMLOptionsCollection) FuncRemove() (fn js.Func[func(index int32)]) {
  6555  	bindings.FuncHTMLOptionsCollectionRemove(
  6556  		this.ref, js.Pointer(&fn),
  6557  	)
  6558  	return
  6559  }
  6560  
  6561  // Remove calls the method "HTMLOptionsCollection.remove".
  6562  func (this HTMLOptionsCollection) Remove(index int32) (ret js.Void) {
  6563  	bindings.CallHTMLOptionsCollectionRemove(
  6564  		this.ref, js.Pointer(&ret),
  6565  		int32(index),
  6566  	)
  6567  
  6568  	return
  6569  }
  6570  
  6571  // TryRemove calls the method "HTMLOptionsCollection.remove"
  6572  // in a try/catch block and returns (_, err, ok = false) when it went through
  6573  // the catch clause.
  6574  func (this HTMLOptionsCollection) TryRemove(index int32) (ret js.Void, exception js.Any, ok bool) {
  6575  	ok = js.True == bindings.TryHTMLOptionsCollectionRemove(
  6576  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6577  		int32(index),
  6578  	)
  6579  
  6580  	return
  6581  }
  6582  
  6583  type OneOf_HTMLImageElement_SVGImageElement struct {
  6584  	ref js.Ref
  6585  }
  6586  
  6587  func (x OneOf_HTMLImageElement_SVGImageElement) Ref() js.Ref {
  6588  	return x.ref
  6589  }
  6590  
  6591  func (x OneOf_HTMLImageElement_SVGImageElement) Free() {
  6592  	x.ref.Free()
  6593  }
  6594  
  6595  func (x OneOf_HTMLImageElement_SVGImageElement) FromRef(ref js.Ref) OneOf_HTMLImageElement_SVGImageElement {
  6596  	return OneOf_HTMLImageElement_SVGImageElement{
  6597  		ref: ref,
  6598  	}
  6599  }
  6600  
  6601  func (x OneOf_HTMLImageElement_SVGImageElement) HTMLImageElement() HTMLImageElement {
  6602  	return HTMLImageElement{}.FromRef(x.ref)
  6603  }
  6604  
  6605  func (x OneOf_HTMLImageElement_SVGImageElement) SVGImageElement() SVGImageElement {
  6606  	return SVGImageElement{}.FromRef(x.ref)
  6607  }
  6608  
  6609  type HTMLOrSVGImageElement = OneOf_HTMLImageElement_SVGImageElement
  6610  
  6611  type HTMLOutputElement struct {
  6612  	HTMLElement
  6613  }
  6614  
  6615  func (this HTMLOutputElement) Once() HTMLOutputElement {
  6616  	this.ref.Once()
  6617  	return this
  6618  }
  6619  
  6620  func (this HTMLOutputElement) Ref() js.Ref {
  6621  	return this.HTMLElement.Ref()
  6622  }
  6623  
  6624  func (this HTMLOutputElement) FromRef(ref js.Ref) HTMLOutputElement {
  6625  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  6626  	return this
  6627  }
  6628  
  6629  func (this HTMLOutputElement) Free() {
  6630  	this.ref.Free()
  6631  }
  6632  
  6633  // HtmlFor returns the value of property "HTMLOutputElement.htmlFor".
  6634  //
  6635  // It returns ok=false if there is no such property.
  6636  func (this HTMLOutputElement) HtmlFor() (ret DOMTokenList, ok bool) {
  6637  	ok = js.True == bindings.GetHTMLOutputElementHtmlFor(
  6638  		this.ref, js.Pointer(&ret),
  6639  	)
  6640  	return
  6641  }
  6642  
  6643  // Form returns the value of property "HTMLOutputElement.form".
  6644  //
  6645  // It returns ok=false if there is no such property.
  6646  func (this HTMLOutputElement) Form() (ret HTMLFormElement, ok bool) {
  6647  	ok = js.True == bindings.GetHTMLOutputElementForm(
  6648  		this.ref, js.Pointer(&ret),
  6649  	)
  6650  	return
  6651  }
  6652  
  6653  // Name returns the value of property "HTMLOutputElement.name".
  6654  //
  6655  // It returns ok=false if there is no such property.
  6656  func (this HTMLOutputElement) Name() (ret js.String, ok bool) {
  6657  	ok = js.True == bindings.GetHTMLOutputElementName(
  6658  		this.ref, js.Pointer(&ret),
  6659  	)
  6660  	return
  6661  }
  6662  
  6663  // SetName sets the value of property "HTMLOutputElement.name" to val.
  6664  //
  6665  // It returns false if the property cannot be set.
  6666  func (this HTMLOutputElement) SetName(val js.String) bool {
  6667  	return js.True == bindings.SetHTMLOutputElementName(
  6668  		this.ref,
  6669  		val.Ref(),
  6670  	)
  6671  }
  6672  
  6673  // Type returns the value of property "HTMLOutputElement.type".
  6674  //
  6675  // It returns ok=false if there is no such property.
  6676  func (this HTMLOutputElement) Type() (ret js.String, ok bool) {
  6677  	ok = js.True == bindings.GetHTMLOutputElementType(
  6678  		this.ref, js.Pointer(&ret),
  6679  	)
  6680  	return
  6681  }
  6682  
  6683  // DefaultValue returns the value of property "HTMLOutputElement.defaultValue".
  6684  //
  6685  // It returns ok=false if there is no such property.
  6686  func (this HTMLOutputElement) DefaultValue() (ret js.String, ok bool) {
  6687  	ok = js.True == bindings.GetHTMLOutputElementDefaultValue(
  6688  		this.ref, js.Pointer(&ret),
  6689  	)
  6690  	return
  6691  }
  6692  
  6693  // SetDefaultValue sets the value of property "HTMLOutputElement.defaultValue" to val.
  6694  //
  6695  // It returns false if the property cannot be set.
  6696  func (this HTMLOutputElement) SetDefaultValue(val js.String) bool {
  6697  	return js.True == bindings.SetHTMLOutputElementDefaultValue(
  6698  		this.ref,
  6699  		val.Ref(),
  6700  	)
  6701  }
  6702  
  6703  // Value returns the value of property "HTMLOutputElement.value".
  6704  //
  6705  // It returns ok=false if there is no such property.
  6706  func (this HTMLOutputElement) Value() (ret js.String, ok bool) {
  6707  	ok = js.True == bindings.GetHTMLOutputElementValue(
  6708  		this.ref, js.Pointer(&ret),
  6709  	)
  6710  	return
  6711  }
  6712  
  6713  // SetValue sets the value of property "HTMLOutputElement.value" to val.
  6714  //
  6715  // It returns false if the property cannot be set.
  6716  func (this HTMLOutputElement) SetValue(val js.String) bool {
  6717  	return js.True == bindings.SetHTMLOutputElementValue(
  6718  		this.ref,
  6719  		val.Ref(),
  6720  	)
  6721  }
  6722  
  6723  // WillValidate returns the value of property "HTMLOutputElement.willValidate".
  6724  //
  6725  // It returns ok=false if there is no such property.
  6726  func (this HTMLOutputElement) WillValidate() (ret bool, ok bool) {
  6727  	ok = js.True == bindings.GetHTMLOutputElementWillValidate(
  6728  		this.ref, js.Pointer(&ret),
  6729  	)
  6730  	return
  6731  }
  6732  
  6733  // Validity returns the value of property "HTMLOutputElement.validity".
  6734  //
  6735  // It returns ok=false if there is no such property.
  6736  func (this HTMLOutputElement) Validity() (ret ValidityState, ok bool) {
  6737  	ok = js.True == bindings.GetHTMLOutputElementValidity(
  6738  		this.ref, js.Pointer(&ret),
  6739  	)
  6740  	return
  6741  }
  6742  
  6743  // ValidationMessage returns the value of property "HTMLOutputElement.validationMessage".
  6744  //
  6745  // It returns ok=false if there is no such property.
  6746  func (this HTMLOutputElement) ValidationMessage() (ret js.String, ok bool) {
  6747  	ok = js.True == bindings.GetHTMLOutputElementValidationMessage(
  6748  		this.ref, js.Pointer(&ret),
  6749  	)
  6750  	return
  6751  }
  6752  
  6753  // Labels returns the value of property "HTMLOutputElement.labels".
  6754  //
  6755  // It returns ok=false if there is no such property.
  6756  func (this HTMLOutputElement) Labels() (ret NodeList, ok bool) {
  6757  	ok = js.True == bindings.GetHTMLOutputElementLabels(
  6758  		this.ref, js.Pointer(&ret),
  6759  	)
  6760  	return
  6761  }
  6762  
  6763  // HasFuncCheckValidity returns true if the method "HTMLOutputElement.checkValidity" exists.
  6764  func (this HTMLOutputElement) HasFuncCheckValidity() bool {
  6765  	return js.True == bindings.HasFuncHTMLOutputElementCheckValidity(
  6766  		this.ref,
  6767  	)
  6768  }
  6769  
  6770  // FuncCheckValidity returns the method "HTMLOutputElement.checkValidity".
  6771  func (this HTMLOutputElement) FuncCheckValidity() (fn js.Func[func() bool]) {
  6772  	bindings.FuncHTMLOutputElementCheckValidity(
  6773  		this.ref, js.Pointer(&fn),
  6774  	)
  6775  	return
  6776  }
  6777  
  6778  // CheckValidity calls the method "HTMLOutputElement.checkValidity".
  6779  func (this HTMLOutputElement) CheckValidity() (ret bool) {
  6780  	bindings.CallHTMLOutputElementCheckValidity(
  6781  		this.ref, js.Pointer(&ret),
  6782  	)
  6783  
  6784  	return
  6785  }
  6786  
  6787  // TryCheckValidity calls the method "HTMLOutputElement.checkValidity"
  6788  // in a try/catch block and returns (_, err, ok = false) when it went through
  6789  // the catch clause.
  6790  func (this HTMLOutputElement) TryCheckValidity() (ret bool, exception js.Any, ok bool) {
  6791  	ok = js.True == bindings.TryHTMLOutputElementCheckValidity(
  6792  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6793  	)
  6794  
  6795  	return
  6796  }
  6797  
  6798  // HasFuncReportValidity returns true if the method "HTMLOutputElement.reportValidity" exists.
  6799  func (this HTMLOutputElement) HasFuncReportValidity() bool {
  6800  	return js.True == bindings.HasFuncHTMLOutputElementReportValidity(
  6801  		this.ref,
  6802  	)
  6803  }
  6804  
  6805  // FuncReportValidity returns the method "HTMLOutputElement.reportValidity".
  6806  func (this HTMLOutputElement) FuncReportValidity() (fn js.Func[func() bool]) {
  6807  	bindings.FuncHTMLOutputElementReportValidity(
  6808  		this.ref, js.Pointer(&fn),
  6809  	)
  6810  	return
  6811  }
  6812  
  6813  // ReportValidity calls the method "HTMLOutputElement.reportValidity".
  6814  func (this HTMLOutputElement) ReportValidity() (ret bool) {
  6815  	bindings.CallHTMLOutputElementReportValidity(
  6816  		this.ref, js.Pointer(&ret),
  6817  	)
  6818  
  6819  	return
  6820  }
  6821  
  6822  // TryReportValidity calls the method "HTMLOutputElement.reportValidity"
  6823  // in a try/catch block and returns (_, err, ok = false) when it went through
  6824  // the catch clause.
  6825  func (this HTMLOutputElement) TryReportValidity() (ret bool, exception js.Any, ok bool) {
  6826  	ok = js.True == bindings.TryHTMLOutputElementReportValidity(
  6827  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6828  	)
  6829  
  6830  	return
  6831  }
  6832  
  6833  // HasFuncSetCustomValidity returns true if the method "HTMLOutputElement.setCustomValidity" exists.
  6834  func (this HTMLOutputElement) HasFuncSetCustomValidity() bool {
  6835  	return js.True == bindings.HasFuncHTMLOutputElementSetCustomValidity(
  6836  		this.ref,
  6837  	)
  6838  }
  6839  
  6840  // FuncSetCustomValidity returns the method "HTMLOutputElement.setCustomValidity".
  6841  func (this HTMLOutputElement) FuncSetCustomValidity() (fn js.Func[func(err js.String)]) {
  6842  	bindings.FuncHTMLOutputElementSetCustomValidity(
  6843  		this.ref, js.Pointer(&fn),
  6844  	)
  6845  	return
  6846  }
  6847  
  6848  // SetCustomValidity calls the method "HTMLOutputElement.setCustomValidity".
  6849  func (this HTMLOutputElement) SetCustomValidity(err js.String) (ret js.Void) {
  6850  	bindings.CallHTMLOutputElementSetCustomValidity(
  6851  		this.ref, js.Pointer(&ret),
  6852  		err.Ref(),
  6853  	)
  6854  
  6855  	return
  6856  }
  6857  
  6858  // TrySetCustomValidity calls the method "HTMLOutputElement.setCustomValidity"
  6859  // in a try/catch block and returns (_, err, ok = false) when it went through
  6860  // the catch clause.
  6861  func (this HTMLOutputElement) TrySetCustomValidity(err js.String) (ret js.Void, exception js.Any, ok bool) {
  6862  	ok = js.True == bindings.TryHTMLOutputElementSetCustomValidity(
  6863  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6864  		err.Ref(),
  6865  	)
  6866  
  6867  	return
  6868  }
  6869  
  6870  type HTMLParagraphElement struct {
  6871  	HTMLElement
  6872  }
  6873  
  6874  func (this HTMLParagraphElement) Once() HTMLParagraphElement {
  6875  	this.ref.Once()
  6876  	return this
  6877  }
  6878  
  6879  func (this HTMLParagraphElement) Ref() js.Ref {
  6880  	return this.HTMLElement.Ref()
  6881  }
  6882  
  6883  func (this HTMLParagraphElement) FromRef(ref js.Ref) HTMLParagraphElement {
  6884  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  6885  	return this
  6886  }
  6887  
  6888  func (this HTMLParagraphElement) Free() {
  6889  	this.ref.Free()
  6890  }
  6891  
  6892  // Align returns the value of property "HTMLParagraphElement.align".
  6893  //
  6894  // It returns ok=false if there is no such property.
  6895  func (this HTMLParagraphElement) Align() (ret js.String, ok bool) {
  6896  	ok = js.True == bindings.GetHTMLParagraphElementAlign(
  6897  		this.ref, js.Pointer(&ret),
  6898  	)
  6899  	return
  6900  }
  6901  
  6902  // SetAlign sets the value of property "HTMLParagraphElement.align" to val.
  6903  //
  6904  // It returns false if the property cannot be set.
  6905  func (this HTMLParagraphElement) SetAlign(val js.String) bool {
  6906  	return js.True == bindings.SetHTMLParagraphElementAlign(
  6907  		this.ref,
  6908  		val.Ref(),
  6909  	)
  6910  }
  6911  
  6912  type HTMLParamElement struct {
  6913  	HTMLElement
  6914  }
  6915  
  6916  func (this HTMLParamElement) Once() HTMLParamElement {
  6917  	this.ref.Once()
  6918  	return this
  6919  }
  6920  
  6921  func (this HTMLParamElement) Ref() js.Ref {
  6922  	return this.HTMLElement.Ref()
  6923  }
  6924  
  6925  func (this HTMLParamElement) FromRef(ref js.Ref) HTMLParamElement {
  6926  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  6927  	return this
  6928  }
  6929  
  6930  func (this HTMLParamElement) Free() {
  6931  	this.ref.Free()
  6932  }
  6933  
  6934  // Name returns the value of property "HTMLParamElement.name".
  6935  //
  6936  // It returns ok=false if there is no such property.
  6937  func (this HTMLParamElement) Name() (ret js.String, ok bool) {
  6938  	ok = js.True == bindings.GetHTMLParamElementName(
  6939  		this.ref, js.Pointer(&ret),
  6940  	)
  6941  	return
  6942  }
  6943  
  6944  // SetName sets the value of property "HTMLParamElement.name" to val.
  6945  //
  6946  // It returns false if the property cannot be set.
  6947  func (this HTMLParamElement) SetName(val js.String) bool {
  6948  	return js.True == bindings.SetHTMLParamElementName(
  6949  		this.ref,
  6950  		val.Ref(),
  6951  	)
  6952  }
  6953  
  6954  // Value returns the value of property "HTMLParamElement.value".
  6955  //
  6956  // It returns ok=false if there is no such property.
  6957  func (this HTMLParamElement) Value() (ret js.String, ok bool) {
  6958  	ok = js.True == bindings.GetHTMLParamElementValue(
  6959  		this.ref, js.Pointer(&ret),
  6960  	)
  6961  	return
  6962  }
  6963  
  6964  // SetValue sets the value of property "HTMLParamElement.value" to val.
  6965  //
  6966  // It returns false if the property cannot be set.
  6967  func (this HTMLParamElement) SetValue(val js.String) bool {
  6968  	return js.True == bindings.SetHTMLParamElementValue(
  6969  		this.ref,
  6970  		val.Ref(),
  6971  	)
  6972  }
  6973  
  6974  // Type returns the value of property "HTMLParamElement.type".
  6975  //
  6976  // It returns ok=false if there is no such property.
  6977  func (this HTMLParamElement) Type() (ret js.String, ok bool) {
  6978  	ok = js.True == bindings.GetHTMLParamElementType(
  6979  		this.ref, js.Pointer(&ret),
  6980  	)
  6981  	return
  6982  }
  6983  
  6984  // SetType sets the value of property "HTMLParamElement.type" to val.
  6985  //
  6986  // It returns false if the property cannot be set.
  6987  func (this HTMLParamElement) SetType(val js.String) bool {
  6988  	return js.True == bindings.SetHTMLParamElementType(
  6989  		this.ref,
  6990  		val.Ref(),
  6991  	)
  6992  }
  6993  
  6994  // ValueType returns the value of property "HTMLParamElement.valueType".
  6995  //
  6996  // It returns ok=false if there is no such property.
  6997  func (this HTMLParamElement) ValueType() (ret js.String, ok bool) {
  6998  	ok = js.True == bindings.GetHTMLParamElementValueType(
  6999  		this.ref, js.Pointer(&ret),
  7000  	)
  7001  	return
  7002  }
  7003  
  7004  // SetValueType sets the value of property "HTMLParamElement.valueType" to val.
  7005  //
  7006  // It returns false if the property cannot be set.
  7007  func (this HTMLParamElement) SetValueType(val js.String) bool {
  7008  	return js.True == bindings.SetHTMLParamElementValueType(
  7009  		this.ref,
  7010  		val.Ref(),
  7011  	)
  7012  }
  7013  
  7014  type HTMLPictureElement struct {
  7015  	HTMLElement
  7016  }
  7017  
  7018  func (this HTMLPictureElement) Once() HTMLPictureElement {
  7019  	this.ref.Once()
  7020  	return this
  7021  }
  7022  
  7023  func (this HTMLPictureElement) Ref() js.Ref {
  7024  	return this.HTMLElement.Ref()
  7025  }
  7026  
  7027  func (this HTMLPictureElement) FromRef(ref js.Ref) HTMLPictureElement {
  7028  	this.HTMLElement = this.HTMLElement.FromRef(ref)
  7029  	return this
  7030  }
  7031  
  7032  func (this HTMLPictureElement) Free() {
  7033  	this.ref.Free()
  7034  }
  7035  
  7036  type PortalActivateOptions struct {
  7037  	// Data is "PortalActivateOptions.data"
  7038  	//
  7039  	// Optional
  7040  	Data js.Any
  7041  	// Transfer is "PortalActivateOptions.transfer"
  7042  	//
  7043  	// Optional, defaults to [].
  7044  	Transfer js.Array[js.Object]
  7045  
  7046  	FFI_USE bool
  7047  }
  7048  
  7049  // FromRef calls UpdateFrom and returns a PortalActivateOptions with all fields set.
  7050  func (p PortalActivateOptions) FromRef(ref js.Ref) PortalActivateOptions {
  7051  	p.UpdateFrom(ref)
  7052  	return p
  7053  }
  7054  
  7055  // New creates a new PortalActivateOptions in the application heap.
  7056  func (p PortalActivateOptions) New() js.Ref {
  7057  	return bindings.PortalActivateOptionsJSLoad(
  7058  		js.Pointer(&p), js.True, 0,
  7059  	)
  7060  }
  7061  
  7062  // UpdateFrom copies value of all fields of the heap object to p.
  7063  func (p *PortalActivateOptions) UpdateFrom(ref js.Ref) {
  7064  	bindings.PortalActivateOptionsJSStore(
  7065  		js.Pointer(p), ref,
  7066  	)
  7067  }
  7068  
  7069  // Update writes all fields of the p to the heap object referenced by ref.
  7070  func (p *PortalActivateOptions) Update(ref js.Ref) {
  7071  	bindings.PortalActivateOptionsJSLoad(
  7072  		js.Pointer(p), js.False, ref,
  7073  	)
  7074  }
  7075  
  7076  // FreeMembers frees fields with heap reference, if recursive is true
  7077  // free all heap references reachable from p.
  7078  func (p *PortalActivateOptions) FreeMembers(recursive bool) {
  7079  	js.Free(
  7080  		p.Data.Ref(),
  7081  		p.Transfer.Ref(),
  7082  	)
  7083  	p.Data = p.Data.FromRef(js.Undefined)
  7084  	p.Transfer = p.Transfer.FromRef(js.Undefined)
  7085  }