Members
suxessApp :*|module
Suxess app module
You can use $rootScope.userIsLogged and $rootScope.user to check whether user
is validated or not.
Type:
- Source:
Methods
createMockupEditorHash(mockup) → {Promise}
Parameters:
Name |
Type |
Description |
mockup |
Restangular
|
|
- Source:
Returns:
-
Type
-
Promise
getElementXpathFromPosition(trackerData) → {*}
Parameters:
Name |
Type |
Description |
trackerData |
|
|
- Source:
Returns:
-
Type
-
*
getEyePosition(trackerData) → {*}
Parameters:
Name |
Type |
Description |
trackerData |
|
|
- Source:
Returns:
-
Type
-
*
getProjectImageSelector(project)
Returns function that can be injected to mockup editor for image selection..
Parameters:
Name |
Type |
Description |
project |
Restangular
|
current project |
- Source:
getScreenCoordinates(eye) → {Object}
Parameters:
Name |
Type |
Description |
eye |
|
|
- Source:
Returns:
-
Type
-
Object
isLookingInBrowser(x, y) → {boolean}
Parameters:
Name |
Type |
Description |
x |
|
|
y |
|
|
- Source:
Returns:
-
Type
-
boolean
loadState(mockup, editor) → {Promise}
Loads state of current editor, returns Promise.
Parameters:
- Source:
Returns:
-
Type
-
Promise
saveState(mockup, editor) → {Promise}
Saves state of current editor, returns Promise with updated elements.
Parameters:
- Source:
Returns:
-
Type
-
Promise
sendElementXpathForPosition(trackerData, xpath)
Parameters:
Name |
Type |
Description |
trackerData |
|
|
xpath |
|
|
- Source: