{{$interface := dict}} {{$interfaceName := .Get "interface"}} {{ range .Site.Data.doc.children -}} {{ if eq .name $interfaceName}} {{$interface = .children}} {{ end }} {{ end -}}
{{ range .Site.Data.doc.children -}} {{ if eq .name $interfaceName}} {{ range .comment.tags -}} {{ if eq .tag "method"}}

Name: {{.text}}

{{ end}} {{ end -}}

Description: {{replace .comment.shortText "Fired" "Called" }}

{{ end }} {{ end }} {{if $interface }}

Detail:

{{range $index, $element := $interface}} {{ end }}
Name Type Description
{{$element.name}} {{$element.type.name}} {{.comment.shortText | safeHTML}} {{ range .comment.tags -}} {{ if eq .tag "description"}}

{{.text}}

{{ end}} {{ end -}}
{{ end }}