Namespace: agenda

Simplicite.UI.Globals.agenda

Global agenda/calendar options

Source:
  • globals.js, line 1208

Members

<static> beforeload

Properties:
Name Type Description
beforeload function(ctn,obj,agd) optional handler before loading the agenda
Source:
  • globals.js, line 1219

<static> borderColor

Properties:
Name Type Description
borderColor function optional handler(obj,item) to get event border color (default is grey)
Source:
  • globals.js, line 1351

<static> click

Properties:
Name Type Description
click function optional event click handler(event) default opens the update form
Source:
  • globals.js, line 1303

<static> color

Properties:
Name Type Description
color function optional handler(obj,item) to get event color (default light grey or a generated color with login/group when known)
Source:
  • globals.js, line 1345

<static> column

Properties:
Name Type Description
column function optional handler(moment) to display the date column header
Source:
  • globals.js, line 1371

<static> date

Properties:
Name Type Description
group string optional date (default is today)
Source:
  • globals.js, line 1296

<static> drop

Properties:
Name Type Description
drop function optional drop event handler(event, delta, revert) default update the date
Source:
  • globals.js, line 1317

<static> editable

Properties:
Name Type Description
editable function optional handler(obj, item) to indicate if a specific event is editable (default true if object is updatable)
Source:
  • globals.js, line 1338

<static> endTime

Properties:
Name Type Description
endTime string optional work time (default from agenda metadata or 18:00)
Source:
  • globals.js, line 1258

<static> group

Properties:
Name Type Description
group string optional group name to filter events
Source:
  • globals.js, line 1290

<static> height

Properties:
Name Type Description
height number | string | function optional height (in px, "auto" or a function)
Source:
  • globals.js, line 1277

<static> login

Properties:
Name Type Description
login string optional user login to filter events
Source:
  • globals.js, line 1284

<static> maxTime

Properties:
Name Type Description
manTime string optional maximum time (exclusive, default 24:00:00)
Source:
  • globals.js, line 1246

<static> minTime

Properties:
Name Type Description
minTime string optional minimum time (default 00:00:00)
Source:
  • globals.js, line 1240

<static> onload

Properties:
Name Type Description
onload function(ctn,obj,agd) optional handler after loading the agenda
Source:
  • globals.js, line 1226

<static> onunload

Properties:
Name Type Description
onunload function(ctn,obj,agd) optional handler befor unloading the agenda
Source:
  • globals.js, line 1233

<static> render

Properties:
Name Type Description
render function optional handler(event,element) to render the event
Source:
  • globals.js, line 1364

<static> resize

Properties:
Name Type Description
resize function optional resize event handler(event, delta, revert) default update the duration
Source:
  • globals.js, line 1324

<static> select

Properties:
Name Type Description
select function optional range selection handler(start,end) default opens the creation form
Source:
  • globals.js, line 1310

<static> slot

Properties:
Name Type Description
slot string optional slot duration (default from agenda quantum or 00:30:00)
Source:
  • globals.js, line 1271

<static> snap

Properties:
Name Type Description
snap string optional snap duration (default from agenda quantum or 00:05:00)
Source:
  • globals.js, line 1265

<static> startTime

Properties:
Name Type Description
startTime string optional work time (default from agenda metadata or 09:00)
Source:
  • globals.js, line 1252

<static> textColor

Properties:
Name Type Description
textColor function optional handler(obj,item) to get text color (default is black)
Source:
  • globals.js, line 1357

<static> title

Properties:
Name Type Description
title function optional title handler(obj, item) default use the label fields or the user-key label
Source:
  • globals.js, line 1331