Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • luisterdoos luisterdoos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Hanze
  • 4.2 GAC Luisterdoos
  • luisterdoosluisterdoos
  • Wiki
  • Frontend plugins: wallpapers

Frontend plugins: wallpapers · Changes

Page history
R.deVries created page: Frontend plugins: wallpapers authored Dec 14, 2017 by Robert de Vries's avatar Robert de Vries
Hide whitespace changes
Inline Side-by-side
Frontend-plugins:-wallpapers.md 0 → 100644
View page @ 90b95734
# Frontend plugins
## Wallpapers
You may include wallpaper components for your plugins. They must reside in the `wallpapers` folder in your plugin.
The naming of your wallpaper components can be anything you want. There's no guidelines on the naming schemes besides being CamelCase, but it's recommended to include at least your plugin name and append `Wallpaper`. This ensures there won't be any naming conflicts with other plugins.
The structure would look like this:
```bash
.
├── plugins
│   ├── SimpleWallpaperPlugin
│   │   └── wallpapers
│   │   └── SimpleWallpaper.vue
```
A Wallpaper component must specify the following data in its default export object:
* `wallpaper`
Example code:
```javascript
export default {
name: 'SimpleWallpaper', // must match the filename
wallpaper: {
label: 'Solid color wallpaper'
},
// ... other VueJS code
}
```
Omitting these data points will cause the wallpaper to not show up in the "Wallpaper" system settings page, therefor the user will not be able to use it.
\ No newline at end of file
Clone repository
  • Frontend plugins: Settings
  • Frontend plugins: speech
  • Frontend plugins: wallpapers
  • Frontend plugins: widgets
  • frontend plugins
  • Home