APIs

Show:

BlockGoogleSheets is based on JSON base class component

Constructor

BlockGoogleSheets

() Object

Returns:

Object:

instantiated BlockGoogleSheets 6e2919a1-47f0-4a4f-bd94-de7ecfbe604d

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

(
  • i_playerData
)
Number

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 Boolean

    if true only remove from existance but not from msdb

initialize

()

Init sub class and super on base