vanilla-es6-jspm

API Docs for: 0.10.3
Show:

components.Geolocation.Geolocation

Summary

Creates a full Geolocation component with its whole logic encapsulated:

  • button to launch a geolocation request
  • spinner while requesting (based on Spinner)
  • display of the result

Example:

var myGeolocation = (new Geolocation('geolocation')).init();

Constructor

components.Geolocation.Geolocation

Syntax

components.Geolocation.Geolocation

(
  • domNode
)

Summary

Parameters:

Item Index

Methods

Methods

hide

Syntax

hide

() components.Component.Component chainable

Summary

Displays none your component.

init

Syntax

Summary

Inits the Geolocation component, adding all its specific logic.

show

Syntax

show

() components.Component.Component chainable

Summary

Displays block your component.