@@ -295,6 +295,16 @@ func Section(attrs attrs.Props, children ...Node) *Element {
295
295
return newElement ("section" , attrs , children ... )
296
296
}
297
297
298
+ // Details creates a <details> element.
299
+ func Details (attrs attrs.Props , children ... Node ) * Element {
300
+ return newElement ("details" , attrs , children ... )
301
+ }
302
+
303
+ // Summary creates a <summary> element.
304
+ func Summary (attrs attrs.Props , children ... Node ) * Element {
305
+ return newElement ("summary" , attrs , children ... )
306
+ }
307
+
298
308
// ========== Semantic Form Elements ==========
299
309
300
310
// Fieldset creates a <fieldset> element.
@@ -368,11 +378,6 @@ func Data(attrs attrs.Props, children ...Node) *Element {
368
378
return newElement ("data" , attrs , children ... )
369
379
}
370
380
371
- // Details creates a <details> element.
372
- func Details (attrs attrs.Props , children ... Node ) * Element {
373
- return newElement ("details" , attrs , children ... )
374
- }
375
-
376
381
// FigCaption creates a <figcaption> element.
377
382
func FigCaption (attrs attrs.Props , children ... Node ) * Element {
378
383
return newElement ("figcaption" , attrs , children ... )
@@ -408,11 +413,6 @@ func Small(attrs attrs.Props, children ...Node) *Element {
408
413
return newElement ("small" , attrs , children ... )
409
414
}
410
415
411
- // Summary creates a <summary> element.
412
- func Summary (attrs attrs.Props , children ... Node ) * Element {
413
- return newElement ("summary" , attrs , children ... )
414
- }
415
-
416
416
// Time creates a <time> element.
417
417
func Time (attrs attrs.Props , children ... Node ) * Element {
418
418
return newElement ("time" , attrs , children ... )
@@ -423,6 +423,21 @@ func Var(attrs attrs.Props, children ...Node) *Element {
423
423
return newElement ("var" , attrs , children ... )
424
424
}
425
425
426
+ // Ruby creates a <ruby> element.
427
+ func Ruby (attrs attrs.Props , children ... Node ) * Element {
428
+ return newElement ("ruby" , attrs , children ... )
429
+ }
430
+
431
+ // Rt creates a <rt> element.
432
+ func Rt (attrs attrs.Props , children ... Node ) * Element {
433
+ return newElement ("rt" , attrs , children ... )
434
+ }
435
+
436
+ // Rp creates a <rp> element.
437
+ func Rp (attrs attrs.Props , children ... Node ) * Element {
438
+ return newElement ("rp" , attrs , children ... )
439
+ }
440
+
426
441
// ========== Tables ==========
427
442
428
443
// Table creates a <table> element.
0 commit comments