BlockGoogleSheets Class
Defined in:
_controllers\_blocks\BlockGoogleSheets.js:10
BlockGoogleSheets is based on JSON base class component
Constructor
BlockGoogleSheets
()
Object
Returns:
Object:
instantiated BlockGoogleSheets 6e2919a1-47f0-4a4f-bd94-de7ecfbe604d
Item Index
Methods
_clearSheetList
()
Clear the list of Google sheets
_getFileId
()
String
Get current fileID from msdb
Returns:
String:
id
_getToken
()
String
Get current token from msdb
Returns:
String:
token
_initSettingsPanel
()
Init the settings panel that's used by Block common props for JSON based components
_listenRefreshSheetList
(
Number
-
i_playerData
Load list of latest sheets from server
Parameters:
-
i_playerData
Number
Returns:
Number:
Unique clientId.
_listenSheetChanged
()
Listen sheet selected / changed
_listenTokenChanged
()
Listen token updated
_loadBlockSpecificProps
()
Load block specific properties
_loadSheetList
()
Load latest sheets from Google services
_populate
()
Populate UI
deleteBlock
(
-
i_memoryOnly
Delete this block
Parameters:
-
i_memoryOnly
Booleanif true only remove from existance but not from msdb
initialize
()
Init sub class and super on base