Class ScenesTransitionsService

Hierarchy

Index

Constructors

constructor

Properties

serviceName

serviceName: string = this.constructor.name

windowsService

windowsService: WindowsService

Static hasInstance

hasInstance: boolean = false

Static initialState

initialState: ISceneTransitionsState = {duration: 300,type: '',} as ISceneTransitionsState

Static isSingleton

isSingleton: boolean = true

Static serviceAfterInit

serviceAfterInit: Subject<Service> = new Subject<Service>()

lifecycle hook

Accessors

state

store

  • get store(): Store<any>

Static instance

  • get instance(): any

Methods

SET_DURATION

  • SET_DURATION(duration: number): void

Protected afterInit

  • afterInit(): void
  • calls only once per application life all observers are ready to listen service's events

    Returns void

getFormData

  • getFormData(): object
  • Returns object

    • duration: object
      • description: string
      • name: string
      • value: number
    • type: object
      • description: string
      • name: string
      • options: IListOption<string>[]
      • value: string

getPropertiesFormData

  • getPropertiesFormData(): TFormData

getSettings

  • getSettings(): Dictionary<TObsValue>

init

  • init(): void

Protected mounted

  • mounted(): void

release

  • release(): void

reset

  • reset(): void

setDuration

  • setDuration(duration: number): void

setPropertiesFormData

  • setPropertiesFormData(formData: TFormData): void

setSettings

  • setSettings(settings: Dictionary<TObsValue>): void

setType

  • setType(type: string): void

showSceneTransitions

  • showSceneTransitions(): void

transitionTo

  • transitionTo(scene: IScene): void

Static createInstance

  • createInstance(ServiceClass: any): any

Static getResourceId

  • getResourceId(resource: any): string

Static getStore

  • getStore(): Store<any>

Static setupInitFunction

  • setupInitFunction(fn: function): void

Static setupProxy

  • setupProxy(fn: function): void

Static setupVuexStore

  • setupVuexStore(store: Store<any>): void