Ejemplo n.º 1
0
func (e *editor) onDevtools(this *window.Window, c *transport.Command) error {
	e.isDevtools = !e.isDevtools

	if e.isDevtools {
		this.OpenDevtools()
	} else {
		this.CloseDevtools()
	}

	return nil
}