Search
Preparing search index...
The search index is not available
angular2-embedly
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
EmbedlyService
Class EmbedlyService
Hierarchy
EmbedlyService
Index
Constructors
constructor
Properties
EMBEDLY_
KEY
extract
Url
http
oembed
Url
protocol
Methods
embed
extract
handle
Error
Constructors
constructor
new
Embedly
Service
(
http
:
Http
, EMBEDLY_KEY
:
string
)
:
EmbedlyService
Parameters
http:
Http
EMBEDLY_KEY:
string
Returns
EmbedlyService
Properties
Private
EMBEDLY_
KEY
EMBEDLY_
KEY
:
string
extract
Url
extract
Url
:
string
= this.protocol + '://api.embed.ly/1/extract'
Private
http
http
:
Http
oembed
Url
oembed
Url
:
string
= this.protocol + '://api.embed.ly/1/oembed'
protocol
protocol
:
string
= "https"
Methods
embed
embed
(
inputUrl
:
string
, maxwidth
?:
number
, scheme
?:
string
)
:
Promise
Parameters
inputUrl:
string
Optional
maxwidth:
number
Optional
scheme:
string
Returns
Promise
extract
extract
(
inputUrl
:
string
)
:
Promise
Parameters
inputUrl:
string
Returns
Promise
Private
handle
Error
handle
Error
(
error
:
any
)
:
Promise
Parameters
error:
any
Returns
Promise
Globals
Embedly
Directive
Embedly
Service
constructor
EMBEDLY_
KEY
extract
Url
http
oembed
Url
protocol
embed
extract
handle
Error
DIRECTIVES
PROVIDERS
Generated using
TypeDoc