1.0.5 • Published 5 years ago

evo-assist-module v1.0.5

Weekly downloads
21
License
-
Repository
-
Last release
5 years ago

Import Evo-Assist-Module

Preperation

add W3CSS

styles.css

@import '~node_modules/w3-css/w3.css';

Usage

Use the <evo-assist-module>-tag and pass the parameters like mmauid etc. through property-binding.

For example:

<evo-assist-module callee="mmassist.worker@evocall.net"></evo-assist-module>

available input-variables

You have to fill all input variables except clientTags, which is optional and mmauid, which is generated if none exists.

  • machine: external_node_id
  • user: the expert to be called
  • callee: the worker calling
  • sourceSystemName: source_system_name of the customer
  • mmauid: The unique id for a context. If none present, a new mmauid will be generated on widgetbar/configuration request.
  • clientTags: tags comming directly from the initiating application.

callable methods

Need to be accessed with the @ViewChild(EvoAssistModuleComponent) annotation.

addAction(action: any)

action should be passed in following form:

{
	"actiontype": "instruction_opened",
    "data": {
      "additionalProp1": {},
      "additionalProp2": {},
      "additionalProp3": {}
    }
}

Add to app.module.ts

...
imports: [..., EvoAssistModule, ...]
...
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago