core/lib/tern_from_ts/defs/fancybox.json.tmp
2017-05-14 13:22:31 +02:00

108 lines
2.5 KiB
Plaintext

{
"FancyboxOptions": {
"padding": "?",
"margin": "?",
"width": "?",
"height": "?",
"minWidth": "number",
"minHeight": "number",
"maxWidth": "number",
"maxHeight": "number",
"autoSize": "bool",
"autoHeight": "bool",
"autoWidth": "bool",
"autoResize": "bool",
"autoCenter": "bool",
"fitToView": "bool",
"aspectRatio": "bool",
"topRatio": "number",
"leftRatio": "number",
"scrolling": "string",
"wrapCSS": "string",
"arrows": "bool",
"closeBtn": "bool",
"closeClick": "bool",
"nextClick": "bool",
"mouseWheel": "bool",
"autoPlay": "bool",
"playSpeed": "number",
"preload": "number",
"modal": "bool",
"loop": "bool",
"ajax": "?",
"iframe": "?",
"swf": "?",
"keys": "?",
"direction": "?",
"scrollOutside": "bool",
"index": "number",
"type": "string",
"href": "string",
"content": "string",
"title": "string",
"tpl": "?",
"openEffect": "string",
"closeEffect": "string",
"nextEffect": "string",
"prevEffect": "string",
"openSpeed": "number",
"closeSpeed": "number",
"nextSpeed": "number",
"prevSpeed": "number",
"openEasing": "string",
"closeEasing": "string",
"nextEasing": "string",
"prevEasing": "string",
"openOpacity": "bool",
"closeOpacity": "bool",
"openMethod": "string",
"closeMethod": "string",
"nextMethod": "string",
"prevMethod": "string",
"helpers": "?"
},
"FancyboxMethods": {
"open": "fn(group?: [?], options?: FancyboxOptions)",
"cancel": "fn()",
"close": "fn(force?: bool)",
"play": "fn()",
"next": "fn()",
"prev": "fn()",
"jumpto": "fn(index?: number)",
"reposition": "fn()",
"update": "fn()",
"toggle": "fn()",
"showLoading": "fn()",
"hideLoading": "fn()"
},
"FancyboxCallback": {
"onCancel": "Function",
"beforeLoad": "Function",
"afterLoad": "Function",
"beforeShow": "Function",
"afterShow": "Function",
"beforeClose": "Function",
"afterClose": "Function",
"onUpdate": "Function",
"onPlayStart": "Function",
"onPlayEnd": "Function"
},
"FancyboxThumbnailHelperOptions": {
"width": "number",
"height": "number",
"source": "?",
"position": "string"
},
"FancyboxButtonHelperOptions": {
"tpl": "string",
"position": "string"
},
"JQuery": {
"fancybox": "FancyboxMethods"
},
"JQueryStatic": {
"fancybox": "FancyboxMethods"
},
"!name": "fancybox.d.ts"
}