How to use superdesk-ui-framework - 1 common examples

To help you get started, we’ve selected a few superdesk-ui-framework examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github superdesk / superdesk-planning / client / index.js View on Github external
() => ({
            scope: {item: '=', hideAvatar: '<'},
            bindToController: true,
            controllerAs: 'vm',
            controller: ctrl.AssignmentPreviewController,
        })
    )
    .directive('sdLocationsManagement',
        () => ({
            scope: {},
            bindToController: true,
            controllerAs: 'vm',
            controller: ctrl.LocationsController,
        })
    )
    .component('sdPlanningDetailsWidget', reactToAngular1(PlanningDetailsWidget, ['item']))
    .service('sdPlanningStore', svc.PlanningStoreService)
    .service('assignments', svc.AssignmentsService)
    .config(['workspaceMenuProvider', (workspaceMenuProvider) => {
        workspaceMenuProvider.item({
            href: '/workspace/assignments',
            icon: 'tasks',
            label: gettext('Assignments'),
            shortcut: 'ctrl+alt+a',
            if: 'workspaceConfig.assignments',
            order: 300,
        });

        workspaceMenuProvider.item({
            href: '/planning',
            icon: 'calendar',
            label: gettext('Planning'),

superdesk-ui-framework

### Status [![Build Status](https://travis-ci.com/superdesk/superdesk-ui-framework.svg?branch=master)](https://travis-ci.org/superdesk/superdesk-ui-framework) [![Netlify Status](https://api.netlify.com/api/v1/badges/baf374b3-b994-4563-b4f0-f61e83c4e33a/de

AGPL-3.0
Latest version published 4 days ago

Package Health Score

70 / 100
Full package analysis

Popular superdesk-ui-framework functions

Similar packages