Skip to content
Snippets Groups Projects
Select Git revision
  • ab9310fb20a19fef9ea53c4364cbf5e54da59e09
  • master default protected
  • 5.x
  • ll-php8-bs5
  • release_5_bs5
  • ll-php8
  • 4.x
  • laminas_migration
  • release_1.0.0.2
  • release_4.0.0
  • release_3.2.8
  • bootstrap4_migration
  • 1.0.0.3
  • 6.0.7
  • 6.0.6
  • 6.0.5
  • 6.0.4
  • 6.0.3
  • 6.0.2
  • 6.0.1
  • 5.1.1
  • 6.0.0
  • 5.1.0
  • 5.0.0
  • 4.0.2
  • 3.2.11
  • 4.0.1
  • 3.2.10
  • 4.0.0
  • 1.0.0.2
  • 3.2.9
  • 3.2.8
32 results

ModuleOptionsTest.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    App.vue 1.01 KiB
    <template>
        <zotero-vue-client :default-type="resourceType"
                           :default-id="groupOrUserId"
                           default-query="1984"
                           @entry-selected="selectedEntry"/>
    </template>
    
    <script>
        import ZoteroVueClient from "./components/ZoteroVueClient";
        import config from './config/config';
        export default {
            name: 'App',
            components: {
                ZoteroVueClient
            },
            data(){
                return {
                    resourceType: config.RESOURCE_TYPE,
                    groupOrUserId: config.USER_GROUP_ID
                }
            },
    
            methods : {
                selectedEntry(entry){
                    alert(JSON.stringify(entry))
                }
            }
        }
    </script>
    
    <style>
        #app {
            font-family: Avenir, Helvetica, Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            color: #2c3e50;
        }
    
    
        .zotero-vue-client {
            width: 600px;
            margin: auto;
        }
    
    
    </style>