New UI plugin API additions

15 Apr
2016
15 Apr
'16
12:24 p.m.
Hi, in oVirt master / 4.0, following new UI plugin API functions are now available. -- engineBaseUrl [1]: can be used to construct Engine URLs. Signature: engineBaseUrl() Examples: // returns something like: // https://example.com:8443/ovirt-engine/ api.engineBaseUrl() [1] https://gerrit.ovirt.org/#/c/55694/ -- showAlert [2]: can be used to show 'global' alert messages (colored boxes in top-center part of UI). Signature: showAlert(alertTypeName, message, options) Examples: api.showAlert('success', 'Everything is good'); api.showAlert('danger', 'Something is bad', { autoHideMs: 3000 }); [2] https://gerrit.ovirt.org/#/c/55504/ -- Regards, Vojtech
3406
Age (days ago)
3406
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vojtech Szocs