NOTE:: for universal support between mouse and touch devices we use the Hammer library which has action recognizers, such as pressing, swiping, pinching, etc.
Display.switch_to(input_name)
binding
directive and the data requested is updated in real time as the status changes.binding
: this tells Angular that we want to use the binding directive[sys]
: this is the system ID we want to connect to. The []
indicate that this is an input variablemod
: this is a raw string indicating the driver we would like to reference.Display_1
mod="Display_1"
mod="Display" [index]="model.selected_index"
[(value)]
: this is the variable that will hold the status value requested[()]
so we can send any changes to the server / deviceexec
will be called on the device module.exec
this is the function to run on the device module if the status value changes[params]
SystemsService
get
the following resource factories:/auth/authority
which contains information about how to authenticateoauth-resp.html
is used to extract the token and save it in local storage/auth/authority
succeedsthis.systems.setup(config);
which kicks off the authentication process as required