Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: polymer_1.0.4/bower_components/iron-component-page/demo/json-descriptor.json

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {"elements":[{"type":"element","desc":"Renders documentation describing an eleme nt's API.\n\n`iron-doc-viewer` renders element and behavior descriptions as extr acted by\n[Hydrolysis](https://github.com/PolymerLabs/hydrolysis). You can provi de them\neither via binding...\n\n <iron-doc-viewer descriptor=\"{{elementDes criptor}}\"></iron-doc-viewer>\n\n...or by placing the element descriptor in JSO N as the text content of an\n`iron-doc-viewer`:\n\n <iron-doc-viewer>\n {\n \"is\": \"awesome-sauce\",\n \"properties\": [\n {\"n ame\": \"isAwesome\", \"type\": \"boolean\", \"desc\": \"Is it awesome?\"},\n ]\n }\n </iron-doc-viewer>\n\nHowever, be aware that due to current limitations in Polymer 0.8, _changes_ to\nthe text content will not be respecte d, only the initial value will be loaded.\nIf you wish to update the documented element, please set it via the `descriptor`\nproperty.\n","events":[],"propertie s":[{"name":"descriptor","type":"hydrolysis.ElementDescriptor","desc":"The [Hydr olysis](https://github.com/PolymerLabs/hydrolysis)-generated\nelement descriptor to display details for.\n\nAlternatively, the element descriptor can be provide d as JSON via the text content\nof this element.\n","published":true},{"name":"_ collapsedChanged","type":"Function","params":[],"private":true,"function":true}, {"name":"_descriptorChanged","type":"Function","desc":"Converts `descriptor` int o our template-friendly `_model`. ","params":[],"private":true,"function":true}, {"name":"_loadJson","type":"Function","desc":"Loads a hydrolysis element descrip tor (as JSON) from the text content of\nthis element, if present.\n","params":[] ,"private":true,"function":true,"return":{"type":"hydrolysis.ElementDescriptor", "desc":"parsed descriptor, or `null`.\n "}},{"name":"_noneToShow","type":"Fu nction","params":[{"name":"showPrivate"},{"name":"items"}],"private":true,"funct ion":true},{"name":"_privateToggleLabel","type":"string","desc":"The label to sh ow for the Private API toggle. ","published":true,"private":true},{"name":"_show Private","type":"Boolean","desc":"Whether private properties should be hidden or shown. ","published":true,"default":false,"private":true},{"name":"_showPrivate Changed","type":"Function","params":[],"private":true,"function":true},{"name":" _toggleCollapsed","type":"Function","params":[],"private":true,"function":true}, {"name":"_togglePrivate","type":"Function","params":[],"private":true,"function" :true},{"name":"ready","type":"Function","params":[],"private":true,"configurati on":true,"function":true}],"is":"iron-doc-viewer","jsdoc":{"tags":[{"tag":"demo" ,"type":null,"name":"demo/index.html","body":"Basic Demo\n"}]},"demos":[{"desc": "Basic Demo\n","path":"demo/index.html"}]},{"type":"element","desc":"Renders doc umentation describing a specific property of an element.\n\nGive it a hydrolysis `PropertyDescriptor` (via `descriptor`), and watch it go!\n","events":[],"prope rties":[{"name":"collapsed","type":"Boolean","desc":"Whether the property should show a one-liner, or full summary.\n\nNote that this property _is_ reflected as an attribute, but we perform\nthe reflection manually. In order to support the CSS transitions, we\nmust calculate the element height before setting the attrib ute.\n ","published":true,"default":false},{"name":"descriptor","type":"hyd rolysis.PropertyDescriptor","desc":"The [Hydrolysis](https://github.com/PolymerL abs/hydrolysis)-generated\nelement descriptor to display details for.\n\nAlterna tively, the element descriptor can be provided as JSON via the text content\nof this element.\n","published":true},{"name":"_collapsedChanged","type":"Function" ,"desc":"Reflects `collapsed` as the `_collapsed` attribute.\n\n\"Why not use `r eflectToAttribute: true`?\", you ask? A fine question!\n\nWe avoid simple reflec tion purely because there is no purely declarative\nway of transitioning to/from `height: auto`. This callback manages\nsetting explicit heights for the propert y so that CSS can interpolate it.\n","params":[],"jsdoc":{"tags":[{"tag":"see"," type":null,"name":"#_onTransitionEnd","body":null}]},"private":true,"function":t rue},{"name":"_computeHideMeta","type":"Function","params":[{"name":"descriptor" }],"private":true,"function":true},{"name":"_computeHideParams","type":"Function ","params":[{"name":"descriptor"}],"private":true,"function":true},{"name":"_des criptorChanged","type":"Function","params":[],"private":true,"function":true},{" name":"_onTransitionEnd","type":"Function","desc":"Resets any state that was set up for transitions.\n\nWe are careful to reset our explicit heights after a tra nsition\ncompletes, so that the property doesn't clip values if the user resizes \ntheir viewport.\n ","params":[{"name":"event"}],"private":true,"function":t rue},{"name":"listeners","type":"Object","private":true,"configuration":true},{" name":"ready","type":"Function","params":[],"private":true,"configuration":true, "function":true}],"is":"iron-doc-property","demos":[]}],"elementsByTagName":{"ir on-doc-viewer":{"type":"element","desc":"Renders documentation describing an ele ment's API.\n\n`iron-doc-viewer` renders element and behavior descriptions as ex tracted by\n[Hydrolysis](https://github.com/PolymerLabs/hydrolysis). You can pro vide them\neither via binding...\n\n <iron-doc-viewer descriptor=\"{{elementD escriptor}}\"></iron-doc-viewer>\n\n...or by placing the element descriptor in J SON as the text content of an\n`iron-doc-viewer`:\n\n <iron-doc-viewer>\n {\n \"is\": \"awesome-sauce\",\n \"properties\": [\n {\ "name\": \"isAwesome\", \"type\": \"boolean\", \"desc\": \"Is it awesome?\"},\n ]\n }\n </iron-doc-viewer>\n\nHowever, be aware that due to curre nt limitations in Polymer 0.8, _changes_ to\nthe text content will not be respec ted, only the initial value will be loaded.\nIf you wish to update the documente d element, please set it via the `descriptor`\nproperty.\n","events":[],"propert ies":[{"name":"descriptor","type":"hydrolysis.ElementDescriptor","desc":"The [Hy drolysis](https://github.com/PolymerLabs/hydrolysis)-generated\nelement descript or to display details for.\n\nAlternatively, the element descriptor can be provi ded as JSON via the text content\nof this element.\n","published":true},{"name": "_collapsedChanged","type":"Function","params":[],"private":true,"function":true },{"name":"_descriptorChanged","type":"Function","desc":"Converts `descriptor` i nto our template-friendly `_model`. ","params":[],"private":true,"function":true },{"name":"_loadJson","type":"Function","desc":"Loads a hydrolysis element descr iptor (as JSON) from the text content of\nthis element, if present.\n","params": [],"private":true,"function":true,"return":{"type":"hydrolysis.ElementDescriptor ","desc":"parsed descriptor, or `null`.\n "}},{"name":"_noneToShow","type":" Function","params":[{"name":"showPrivate"},{"name":"items"}],"private":true,"fun ction":true},{"name":"_privateToggleLabel","type":"string","desc":"The label to show for the Private API toggle. ","published":true,"private":true},{"name":"_sh owPrivate","type":"Boolean","desc":"Whether private properties should be hidden or shown. ","published":true,"default":false,"private":true},{"name":"_showPriva teChanged","type":"Function","params":[],"private":true,"function":true},{"name" :"_toggleCollapsed","type":"Function","params":[],"private":true,"function":true },{"name":"_togglePrivate","type":"Function","params":[],"private":true,"functio n":true},{"name":"ready","type":"Function","params":[],"private":true,"configura tion":true,"function":true}],"is":"iron-doc-viewer","jsdoc":{"tags":[{"tag":"dem o","type":null,"name":"demo/index.html","body":"Basic Demo\n"}]},"demos":[{"desc ":"Basic Demo\n","path":"demo/index.html"}]},"iron-doc-property":{"type":"elemen t","desc":"Renders documentation describing a specific property of an element.\n \nGive it a hydrolysis `PropertyDescriptor` (via `descriptor`), and watch it go! \n","events":[],"properties":[{"name":"collapsed","type":"Boolean","desc":"Wheth er the property should show a one-liner, or full summary.\n\nNote that this prop erty _is_ reflected as an attribute, but we perform\nthe reflection manually. In order to support the CSS transitions, we\nmust calculate the element height bef ore setting the attribute.\n ","published":true,"default":false},{"name":"d escriptor","type":"hydrolysis.PropertyDescriptor","desc":"The [Hydrolysis](https ://github.com/PolymerLabs/hydrolysis)-generated\nelement descriptor to display d etails for.\n\nAlternatively, the element descriptor can be provided as JSON via the text content\nof this element.\n","published":true},{"name":"_collapsedChan ged","type":"Function","desc":"Reflects `collapsed` as the `_collapsed` attribut e.\n\n\"Why not use `reflectToAttribute: true`?\", you ask? A fine question!\n\n We avoid simple reflection purely because there is no purely declarative\nway of transitioning to/from `height: auto`. This callback manages\nsetting explicit h eights for the property so that CSS can interpolate it.\n","params":[],"jsdoc":{ "tags":[{"tag":"see","type":null,"name":"#_onTransitionEnd","body":null}]},"priv ate":true,"function":true},{"name":"_computeHideMeta","type":"Function","params" :[{"name":"descriptor"}],"private":true,"function":true},{"name":"_computeHidePa rams","type":"Function","params":[{"name":"descriptor"}],"private":true,"functio n":true},{"name":"_descriptorChanged","type":"Function","params":[],"private":tr ue,"function":true},{"name":"_onTransitionEnd","type":"Function","desc":"Resets any state that was set up for transitions.\n\nWe are careful to reset our explic it heights after a transition\ncompletes, so that the property doesn't clip valu es if the user resizes\ntheir viewport.\n ","params":[{"name":"event"}],"priv ate":true,"function":true},{"name":"listeners","type":"Object","private":true,"c onfiguration":true},{"name":"ready","type":"Function","params":[],"private":true ,"configuration":true,"function":true}],"is":"iron-doc-property","demos":[]}},"b ehaviors":[],"features":[]}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698