Servis-Rhino 4211B Betriebsanweisung Seite 145

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 144
dojo/dom-geometry
The dojo/dom-geometry class provides accessors for working with the geometry (sizes and
positions) of DOM nodes. Convention maps this package to the alias called "domGeom". Among
its many methods include:
getContentBox(node) – Returns an object that contains.
{
w:
h:
l:
t:
}
Others ...
Dojo Dates and Times
Dojo has a number of classes for working with dates and times. These augment the JavaScript
native date and time functions.
See also:
JavaScript – Date object
Working with Dates in Dojo – 1.9
dojo/date
This rich class contains a bunch of date manipulation functions.
add(date, interval, amount) - Adds a time value to the current date. Setting a
negative value subtracts time. The interval can be one of the following values:
"year"
"month"
"day"
"hour"
"minute"
"second"
"millisecond"
"quarter"
"week"
"weekday"
difference(date1, date2, interval) - Calculate the difference between two
dates in a variety of intervals. The interval can be one of:
year
month
day
hour
Page 145
Seitenansicht 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare