Table Of Contents

Application Packaging Standard

Last updated 18-Mar-2019

aps/nav/ViewPlugin

Table of contents

Public Methods

METHOD RETURN DESCRIPTION
buildStaticURL (staticFile)
string
 
byId (id)    
destroy ()    
genId (id)
string
 
getState ()
object
Return not-function plugin properties
init ()    

buildStaticURL

Return: string

ARGUMENT TYPE DESCRIPTION
staticFile
undefined
 

byId

ARGUMENT TYPE DESCRIPTION
id
String
Local widget id

destroy

genId

Return: string

ARGUMENT TYPE DESCRIPTION
id
String
Local widget id

getState

Return not-function plugin properties.

Return: object

init

Public Events

EVENT RETURN DESCRIPTION
onContext ()
undefined
This handler is called once the _aps

onContext

This handler is called once the _aps.context_ is received. The method can return a promise (dojo/deferred). In this case the lifecycle init => onShow => onContext methods will wait for the resolving of the promise.