foam-framework
Version:
MVC metaprogramming framework
49 lines (45 loc) • 1.07 kB
JavaScript
/**
* @license
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
CLASS({
package: 'foam.apps.builder.events',
name: 'Presenter',
properties: [
{
name: 'id',
help: 'The unique id for this record.',
hidden: true,
},
{
model_: 'StringProperty',
name: 'name',
help: 'The name of the presenter.',
defaultValue: '',
},
{
model_: 'StringProperty',
name: 'description',
help: 'Short biography of the presenter.',
defaultValue: '',
},
{
model_: 'ImageProperty',
name: 'image',
help: 'A photo or image of the presenter.',
defaultValue: '',
},
{
model_: 'ColorProperty',
name: 'color',
help: 'The highlight color to use for this presenter.',
defaultValue: '#7777FF',
},
],
});