UNPKG

@fooloomanzoo/property-mixins

Version:

mixin for custom elements to extends property mixins for data formats

1,988 lines 144 kB
{ "schema_version": "1.0.0", "mixins": [ { "description": "Mixin that provides web-color-properties. Its `color-string` converts automatically beetween different formats (hex, rgb and hsl) and provides an alpha-colorString.", "summary": "", "path": "color-mixin.js", "properties": [ { "name": "hex", "type": "string | null | undefined", "description": "Hex-color", "privacy": "public", "sourceRange": { "start": { "line": 286, "column": 8 }, "end": { "line": 290, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_hexChanged\"", "attributeType": "String" } } }, { "name": "r", "type": "number | null | undefined", "description": "Red", "privacy": "public", "sourceRange": { "start": { "line": 295, "column": 8 }, "end": { "line": 298, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "g", "type": "number | null | undefined", "description": "Green", "privacy": "public", "sourceRange": { "start": { "line": 303, "column": 8 }, "end": { "line": 306, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "b", "type": "number | null | undefined", "description": "Blue", "privacy": "public", "sourceRange": { "start": { "line": 311, "column": 8 }, "end": { "line": 314, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "h", "type": "number | null | undefined", "description": "Hue", "privacy": "public", "sourceRange": { "start": { "line": 319, "column": 8 }, "end": { "line": 322, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "s", "type": "number | null | undefined", "description": "Saturation (hsl)", "privacy": "public", "sourceRange": { "start": { "line": 327, "column": 8 }, "end": { "line": 330, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "l", "type": "number | null | undefined", "description": "Lightness", "privacy": "public", "sourceRange": { "start": { "line": 335, "column": 8 }, "end": { "line": 338, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "alpha", "type": "number | null | undefined", "description": "Alpha", "privacy": "public", "sourceRange": { "start": { "line": 343, "column": 8 }, "end": { "line": 348, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_alphaChanged\"", "attributeType": "Number" } }, "defaultValue": "1" }, { "name": "alphaMode", "type": "boolean | null | undefined", "description": "if true, colorString has alpha", "privacy": "public", "sourceRange": { "start": { "line": 353, "column": 8 }, "end": { "line": 357, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_alphaModeChanged\"", "attributeType": "Boolean" } } }, { "name": "withoutAlpha", "type": "boolean | null | undefined", "description": "if true, alpha won't be used", "privacy": "public", "sourceRange": { "start": { "line": 362, "column": 8 }, "end": { "line": 365, "column": 9 } }, "metadata": { "polymer": { "observer": "\"_withoutAlphaChanged\"", "attributeType": "Boolean" } } }, { "name": "hslPrecision", "type": "number | null | undefined", "description": "Precision of hsl-colorStrings, if the format is 'hsl' (for saturation and lightness it is applied according to their percentage colorString)", "privacy": "public", "sourceRange": { "start": { "line": 370, "column": 8 }, "end": { "line": 373, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } }, "defaultValue": "0" }, { "name": "format", "type": "string | null | undefined", "description": "format of the colorString (possible colorStrings: 'rgb', 'hex', 'hsl', 'auto')", "privacy": "public", "sourceRange": { "start": { "line": 378, "column": 8 }, "end": { "line": 383, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_formatChanged\"", "attributeType": "String" } }, "defaultValue": "\"auto\"" }, { "name": "fixedFormat", "type": "boolean | null | undefined", "description": "format is locked and does not switch according to the colorString", "privacy": "public", "sourceRange": { "start": { "line": 388, "column": 8 }, "end": { "line": 390, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Boolean" } } }, { "name": "_hexAlphaSupported", "type": "boolean | null | undefined", "description": "if true, hex alpha is supported by the browser", "privacy": "protected", "sourceRange": { "start": { "line": 395, "column": 8 }, "end": { "line": 398, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "Boolean" } } }, { "name": "colorString", "type": "string | null | undefined", "description": "value as color-string", "privacy": "public", "sourceRange": { "start": { "line": 403, "column": 8 }, "end": { "line": 407, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_colorStringChanged\"", "attributeType": "String" } } } ], "methods": [ { "name": "ready", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 418, "column": 4 }, "end": { "line": 421, "column": 5 } }, "metadata": {}, "params": [], "return": { "type": "void" } }, { "name": "randomColor", "description": "generate random color", "privacy": "public", "sourceRange": { "start": { "line": 426, "column": 4 }, "end": { "line": 429, "column": 5 } }, "metadata": {}, "params": [], "return": { "type": "void" } }, { "name": "resetColor", "description": "reset all color properties", "privacy": "public", "sourceRange": { "start": { "line": 434, "column": 4 }, "end": { "line": 447, "column": 5 } }, "metadata": {}, "params": [], "return": { "type": "void" } }, { "name": "_createTestCanvas", "description": "creates a canvas for testing a color string and browser capabilities", "privacy": "protected", "sourceRange": { "start": { "line": 452, "column": 4 }, "end": { "line": 465, "column": 5 } }, "metadata": {}, "params": [], "return": { "type": "void" } }, { "name": "_colorStringChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 467, "column": 4 }, "end": { "line": 565, "column": 5 } }, "metadata": {}, "params": [ { "name": "colorString" } ], "return": { "type": "void" } }, { "name": "_computeColorString", "description": "compute color string", "privacy": "protected", "sourceRange": { "start": { "line": 575, "column": 4 }, "end": { "line": 655, "column": 5 } }, "metadata": {}, "params": [ { "name": "rgb", "type": "rgbObject", "description": "The rgb object" }, { "name": "hsl", "type": "hslObject", "description": "The hsl object" }, { "name": "hex", "type": "string", "description": "The hex string" }, { "name": "oldColor", "type": "string", "description": "The old color string before setting" } ], "return": { "type": "[type]", "desc": "The computed color string" } }, { "name": "_hexChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 657, "column": 4 }, "end": { "line": 677, "column": 5 } }, "metadata": {}, "params": [ { "name": "hex" } ], "return": { "type": "void" } }, { "name": "_rgbChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 679, "column": 4 }, "end": { "line": 723, "column": 5 } }, "metadata": {}, "params": [ { "name": "r" }, { "name": "g" }, { "name": "b" } ], "return": { "type": "void" } }, { "name": "_hslChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 725, "column": 4 }, "end": { "line": 768, "column": 5 } }, "metadata": {}, "params": [ { "name": "h" }, { "name": "s" }, { "name": "l" } ], "return": { "type": "void" } }, { "name": "_formatChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 770, "column": 4 }, "end": { "line": 786, "column": 5 } }, "metadata": {}, "params": [ { "name": "format" }, { "name": "oldFormat" } ], "return": { "type": "void" } }, { "name": "_alphaChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 788, "column": 4 }, "end": { "line": 818, "column": 5 } }, "metadata": {}, "params": [ { "name": "alpha" }, { "name": "oldAlpha" } ], "return": { "type": "void" } }, { "name": "_alphaModeChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 820, "column": 4 }, "end": { "line": 841, "column": 5 } }, "metadata": {}, "params": [ { "name": "alphaMode" } ], "return": { "type": "void" } }, { "name": "_withoutAlphaChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 843, "column": 4 }, "end": { "line": 853, "column": 5 } }, "metadata": {}, "params": [ { "name": "withoutAlpha" } ], "return": { "type": "void" } } ], "staticMethods": [], "demos": [ { "url": "demo/color-demo.html", "description": "" } ], "metadata": {}, "sourceRange": { "start": { "line": 270, "column": 7 }, "end": { "line": 855, "column": 3 } }, "privacy": "public", "name": "ColorMixin", "attributes": [ { "name": "hex", "description": "Hex-color", "sourceRange": { "start": { "line": 286, "column": 8 }, "end": { "line": 290, "column": 9 } }, "metadata": {}, "type": "string | null | undefined" }, { "name": "r", "description": "Red", "sourceRange": { "start": { "line": 295, "column": 8 }, "end": { "line": 298, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "g", "description": "Green", "sourceRange": { "start": { "line": 303, "column": 8 }, "end": { "line": 306, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "b", "description": "Blue", "sourceRange": { "start": { "line": 311, "column": 8 }, "end": { "line": 314, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "h", "description": "Hue", "sourceRange": { "start": { "line": 319, "column": 8 }, "end": { "line": 322, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "s", "description": "Saturation (hsl)", "sourceRange": { "start": { "line": 327, "column": 8 }, "end": { "line": 330, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "l", "description": "Lightness", "sourceRange": { "start": { "line": 335, "column": 8 }, "end": { "line": 338, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "alpha", "description": "Alpha", "sourceRange": { "start": { "line": 343, "column": 8 }, "end": { "line": 348, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "alpha-mode", "description": "if true, colorString has alpha", "sourceRange": { "start": { "line": 353, "column": 8 }, "end": { "line": 357, "column": 9 } }, "metadata": {}, "type": "boolean | null | undefined" }, { "name": "without-alpha", "description": "if true, alpha won't be used", "sourceRange": { "start": { "line": 362, "column": 8 }, "end": { "line": 365, "column": 9 } }, "metadata": {}, "type": "boolean | null | undefined" }, { "name": "hsl-precision", "description": "Precision of hsl-colorStrings, if the format is 'hsl' (for saturation and lightness it is applied according to their percentage colorString)", "sourceRange": { "start": { "line": 370, "column": 8 }, "end": { "line": 373, "column": 9 } }, "metadata": {}, "type": "number | null | undefined" }, { "name": "format", "description": "format of the colorString (possible colorStrings: 'rgb', 'hex', 'hsl', 'auto')", "sourceRange": { "start": { "line": 378, "column": 8 }, "end": { "line": 383, "column": 9 } }, "metadata": {}, "type": "string | null | undefined" }, { "name": "fixed-format", "description": "format is locked and does not switch according to the colorString", "sourceRange": { "start": { "line": 388, "column": 8 }, "end": { "line": 390, "column": 9 } }, "metadata": {}, "type": "boolean | null | undefined" }, { "name": "color-string", "description": "value as color-string", "sourceRange": { "start": { "line": 403, "column": 8 }, "end": { "line": 407, "column": 9 } }, "metadata": {}, "type": "string | null | undefined" } ], "events": [], "styling": { "cssVariables": [], "selectors": [] }, "slots": [] }, { "description": "Mixin that provides intl-format-locale for datetime and computes some separation strings for usage.", "summary": "", "path": "intl-datetime-format-mixin.js", "properties": [ { "name": "locale", "type": "string | null | undefined", "description": "The current locale", "privacy": "public", "sourceRange": { "start": { "line": 23, "column": 8 }, "end": { "line": 26, "column": 9 } }, "metadata": { "polymer": { "attributeType": "String" } } }, { "name": "decimalSeparator", "type": "string", "description": "locale separator for local decimal values", "privacy": "public", "sourceRange": { "start": { "line": 32, "column": 8 }, "end": { "line": 35, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } } }, { "name": "dateSeparator", "type": "string", "description": "Separator for local date values (date-string is still in ISO-Format)", "privacy": "public", "sourceRange": { "start": { "line": 41, "column": 8 }, "end": { "line": 44, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } } }, { "name": "timeSeparator", "type": "string", "description": "Separator for local time values (time-string is still in ISO-Format)", "privacy": "public", "sourceRange": { "start": { "line": 50, "column": 8 }, "end": { "line": 53, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } } }, { "name": "amString", "type": "string | null | undefined", "description": "locale representation of 'AM'", "privacy": "public", "sourceRange": { "start": { "line": 58, "column": 8 }, "end": { "line": 61, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } } }, { "name": "pmString", "type": "string | null | undefined", "description": "locale representation of 'PM'", "privacy": "public", "sourceRange": { "start": { "line": 66, "column": 8 }, "end": { "line": 69, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } } }, { "name": "dateOrder", "type": "Object | null | undefined", "description": "order of date-parts", "privacy": "public", "sourceRange": { "start": { "line": 74, "column": 8 }, "end": { "line": 85, "column": 9 } }, "metadata": { "polymer": { "notify": true, "readOnly": true, "attributeType": "Object" } }, "defaultValue": "{\"parts\":[],\"timeFirst\":false,\"dateFirst\":true}" } ], "methods": [ { "name": "_localeChanged", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 95, "column": 4 }, "end": { "line": 283, "column": 5 } }, "metadata": {}, "params": [ { "name": "locale" } ], "return": { "type": "void" } } ], "staticMethods": [], "demos": [], "metadata": {}, "sourceRange": { "start": { "line": 14, "column": 7 }, "end": { "line": 285, "column": 3 } }, "privacy": "public", "name": "IntlDatetimeFormatMixin", "attributes": [ { "name": "locale", "description": "The current locale", "sourceRange": { "start": { "line": 23, "column": 8 }, "end": { "line": 26, "column": 9 } }, "metadata": {}, "type": "string | null | undefined" }, { "name": "decimal-separator", "description": "locale separator for local decimal values", "sourceRange": { "start": { "line": 32, "column": 8 }, "end": { "line": 35, "column": 9 } }, "metadata": {}, "type": "string" }, { "name": "date-separator", "description": "Separator for local date values (date-string is still in ISO-Format)", "sourceRange": { "start": { "line": 41, "column": 8 }, "end": { "line": 44, "column": 9 } }, "metadata": {}, "type": "string" }, { "name": "time-separator", "description": "Separator for local time values (time-string is still in ISO-Format)", "sourceRange": { "start": { "line": 50, "column": 8 }, "end": { "line": 53, "column": 9 } }, "metadata": {}, "type": "string" }, { "name": "am-string", "description": "locale representation of 'AM'", "sourceRange": { "start": { "line": 58, "column": 8 }, "end": { "line": 61, "column": 9 } }, "metadata": {}, "type": "string | null | undefined" }, { "name": "pm-string", "description": "locale representation of 'PM'", "sourceRange": { "start": { "line": 66, "column": 8 }, "end": { "line": 69, "column": 9 } }, "metadata": {}, "type": "string | null | undefined" }, { "name": "date-order", "description": "order of date-parts", "sourceRange": { "start": { "line": 74, "column": 8 }, "end": { "line": 85, "column": 9 } }, "metadata": {}, "type": "Object | null | undefined" } ], "events": [], "styling": { "cssVariables": [], "selectors": [] }, "slots": [] }, { "description": "Mixin that provides datetime-properties", "summary": "", "path": "datetime-mixin.js", "properties": [ { "name": "locale", "type": "string | null | undefined", "description": "The current locale", "privacy": "public", "sourceRange": { "file": "intl-datetime-format-mixin.js", "start": { "line": 23, "column": 8 }, "end": { "line": 26, "column": 9 } }, "metadata": { "polymer": { "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "decimalSeparator", "type": "string", "description": "locale separator for local decimal values", "privacy": "public", "sourceRange": { "file": "intl-datetime-format-mixin.js", "start": { "line": 32, "column": 8 }, "end": { "line": 35, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "dateSeparator", "type": "string", "description": "Separator for local date values (date-string is still in ISO-Format)", "privacy": "public", "sourceRange": { "file": "intl-datetime-format-mixin.js", "start": { "line": 41, "column": 8 }, "end": { "line": 44, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "timeSeparator", "type": "string", "description": "Separator for local time values (time-string is still in ISO-Format)", "privacy": "public", "sourceRange": { "file": "intl-datetime-format-mixin.js", "start": { "line": 50, "column": 8 }, "end": { "line": 53, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "amString", "type": "string | null | undefined", "description": "locale representation of 'AM'", "privacy": "public", "sourceRange": { "file": "intl-datetime-format-mixin.js", "start": { "line": 58, "column": 8 }, "end": { "line": 61, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "pmString", "type": "string | null | undefined", "description": "locale representation of 'PM'", "privacy": "public", "sourceRange": { "file": "intl-datetime-format-mixin.js", "start": { "line": 66, "column": 8 }, "end": { "line": 69, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "dateOrder", "type": "Object | null | undefined", "description": "order of date-parts", "privacy": "public", "sourceRange": { "file": "intl-datetime-format-mixin.js", "start": { "line": 74, "column": 8 }, "end": { "line": 85, "column": 9 } }, "metadata": { "polymer": { "notify": true, "readOnly": true, "attributeType": "Object" } }, "defaultValue": "{\"parts\":[],\"timeFirst\":false,\"dateFirst\":true}", "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "year", "type": "number | null | undefined", "description": "The year of the selected date", "privacy": "public", "sourceRange": { "start": { "line": 225, "column": 8 }, "end": { "line": 228, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "month", "type": "number | null | undefined", "description": "The month of the selected date (starts with 1)", "privacy": "public", "sourceRange": { "start": { "line": 233, "column": 8 }, "end": { "line": 236, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "day", "type": "number | null | undefined", "description": "The day of the selected date", "privacy": "public", "sourceRange": { "start": { "line": 241, "column": 8 }, "end": { "line": 244, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "hour", "type": "number | null | undefined", "description": "The hour of the selected time", "privacy": "public", "sourceRange": { "start": { "line": 249, "column": 8 }, "end": { "line": 252, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "hour12", "type": "number", "description": "hour in 12-hour-format", "privacy": "public", "sourceRange": { "start": { "line": 258, "column": 8 }, "end": { "line": 262, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_hour12Changed\"", "attributeType": "Number" } } }, { "name": "isAm", "type": "boolean", "description": "true, when A.M. (when `hour` < 12)", "privacy": "public", "sourceRange": { "start": { "line": 268, "column": 8 }, "end": { "line": 272, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_isAmChanged\"", "attributeType": "Boolean" } } }, { "name": "minute", "type": "number | null | undefined", "description": "The minute of the selected time", "privacy": "public", "sourceRange": { "start": { "line": 277, "column": 8 }, "end": { "line": 280, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "second", "type": "number | null | undefined", "description": "The second of the selected time", "privacy": "public", "sourceRange": { "start": { "line": 285, "column": 8 }, "end": { "line": 288, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "millisecond", "type": "number | null | undefined", "description": "The millisecond of the selected time", "privacy": "public", "sourceRange": { "start": { "line": 293, "column": 8 }, "end": { "line": 296, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } } }, { "name": "datetime", "type": "string | null | undefined", "description": "the selected date and time (format: iso8601)", "privacy": "public", "sourceRange": { "start": { "line": 301, "column": 8 }, "end": { "line": 304, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "String" } } }, { "name": "date", "type": "string | null | undefined", "description": "the selected date (format: iso8601)", "privacy": "public", "sourceRange": { "start": { "line": 309, "column": 8 }, "end": { "line": 312, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "String" } } }, { "name": "time", "type": "string | null | undefined", "description": "the selected time (format: iso8601)", "privacy": "public", "sourceRange": { "start": { "line": 317, "column": 8 }, "end": { "line": 320, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "String" } } }, { "name": "valueAsDate", "type": "Date | null | undefined", "description": "The date-object of the selected date", "privacy": "public", "sourceRange": { "start": { "line": 325, "column": 8 }, "end": { "line": 329, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_valueAsDateChanged\"", "attributeType": "Date" } } }, { "name": "valueAsNumber", "type": "number | null | undefined", "description": "The value of the selected date", "privacy": "public", "sourceRange": { "start": { "line": 334, "column": 8 }, "end": { "line": 338, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_valueAsNumberChanged\"", "attributeType": "Number" } } }, { "name": "default", "type": "Object | null | undefined", "description": "The default value of the input, could be a number, a date-object or an iso-string in time, date or datetime-notation", "privacy": "public", "sourceRange": { "start": { "line": 343, "column": 8 }, "end": { "line": 346, "column": 9 } }, "metadata": { "polymer": { "observer": "\"_defaultChanged\"", "attributeType": "Object" } } }, { "name": "min", "type": "Object | null | undefined", "description": "The minimal date, could be a number, a date-object or an iso-string in time, date or datetime-notation", "privacy": "public", "sourceRange": { "start": { "line": 351, "column": 8 }, "end": { "line": 355, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_minChanged\"", "attributeType": "Object" } } }, { "name": "_minValue", "type": "number | null | undefined", "description": "value if the minimum date", "privacy": "protected", "sourceRange": { "start": { "line": 360, "column": 8 }, "end": { "line": 362, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } } }, { "name": "max", "type": "Object | null | undefined", "description": "The maximal date, could be a number, a date-object or an iso-string in time, date or datetime-notation", "privacy": "public", "sourceRange": { "start": { "line": 367, "column": 8 }, "end": { "line": 371, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_maxChanged\"", "attributeType": "Object" } } }, { "name": "_maxValue", "type": "number | null | undefined", "description": "value if the maximum date", "privacy": "protected", "sourceRange": { "start": { "line": 376, "column": 8 }, "end": { "line": 378, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } } }, { "name": "hour12Format", "type": "boolean", "description": "when true, 12-hour time format, else 24-hour", "privacy": "public", "sourceRange": { "start": { "line": 384, "column": 8 }, "end": { "line": 388, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Boolean" } } }, { "name": "clamp", "type": "string | null | undefined", "description": "Clamp datetime to a property\npossible values:'month', 'day', 'hour', 'minute', 'second', 'millisecond'", "privacy": "public", "sourceRange": { "start": { "line": 394, "column": 8 }, "end": { "line": 398, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_clampChanged\"", "attributeType": "String" } } }, { "name": "timezone", "type": "string | null | undefined", "description": "The timezone offset in '±hh:mm' format", "privacy": "public", "sourceRange": { "start": { "line": 403, "column": 8 }, "end": { "line": 407, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_timezoneChanged\"", "attributeType": "String" } } }, { "name": "offsetMinutes", "type": "number | null | undefined", "description": "The offset minutes of the set timezone", "privacy": "public", "sourceRange": { "start": { "line": 412, "column": 8 }, "end": { "line": 416, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_offsetMinutesChanged\"", "attributeType": "Number" } } }, { "name": "_timeZoneHours", "type": "number | null | undefined", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 418, "column": 8 }, "end": { "line": 420, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } } }, { "name": "_timeZoneMinutes", "type": "number | null | undefined", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 422, "column": 8 }, "end": { "line": 424, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } } }, { "name": "_recentLocalTimezoneOffset", "type": "number | null | undefined", "descrip