File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
home-screen-widget/profiles Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,15 +59,15 @@ python3 scripts/configure_home_screen.py --tenantUrl https://<tenant_url> --toke
59
59
60
60
The following four steps are ** required** for every widget to be shown on the home screen.
61
61
62
- 1 . [ Define Widget Type Name] ( src/components/Widget.vue#L19 )
62
+ 1 . [ Define Widget Type Name] ( src/components/Widget.vue#L17 )
63
63
``` javascript:title=home-screen-widget/profiles/src/components/Widget.vue
64
64
export const WIDGET_TYPE_NAME = 'profiles';
65
65
```
66
- 2. [Register Widget Component](src/main.js#L9 )
66
+ 2. [Register Widget Component](src/main.js#L6 )
67
67
```javascript:title=home-screen-widget/profiles/src/main.js
68
68
BeekeeperHomeScreen.registerVueWidget(WIDGET_TYPE_NAME, component)
69
69
```
70
- 3. [Trigger 'widget-loaded' Event](src/components/Widget.vue#L71 )
70
+ 3. [Trigger 'widget-loaded' Event](src/components/Widget.vue#L46 )
71
71
```javascript:title=home-screen-widget/profiles/src/components/Widget.vue
72
72
this.$emit('widget-loaded');
73
73
```
You can’t perform that action at this time.
0 commit comments