{{$interface := dict}} {{$categoryId := int 0}} {{ $categoryIds := slice }} {{$interfaceName := .Get "interface"}} {{ range .Site.Data.doc.children -}} {{ if eq .name $interfaceName}} {{$interface = .children}} {{ end }} {{ end -}}
{{ range .Site.Data.doc.children -}} {{ if eq .name "LightGallery"}} {{ range .groups -}} {{ if eq .title "Methods"}} {{ range .categories -}} {{ if eq .title "lGPublicMethods"}} {{$categoryIds = .children}} {{ end }} {{end -}} {{ end}} {{ end -}} {{ end }} {{ end }} {{$method := dict}} {{$categoryId := int 0}} {{ range .Site.Data.doc.children -}} {{ if eq .name "LightGallery"}} {{ range .children -}} {{$method := .}} {{range $categoryIds -}} {{$categoryId = .}} {{ with $method }} {{ if eq (int .id) (int $categoryId)}} {{ range .signatures -}}

Name: {{.name}}

Description: {{.comment.shortText}}

{{.comment.text}}

{{ range .comment.tags -}} {{ if eq .tag "description"}}

{{ .text | safeHTML }}

{{ end}} {{ if eq .tag "example"}}

Example:

{{ highlight .text "js" "" }}
{{ end}} {{ if eq .tag "note"}}

Note : {{.text | markdownify}}

{{ end}} {{ if eq .tag "see"}}

See also:{{.text | safeHTML}}

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