| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 The common.js file must be included before this file. | 2 The common.js file must be included before this file. |
| 3 | 3 |
| 4 This in an HTML Import-able file that contains the definition | 4 This in an HTML Import-able file that contains the definition |
| 5 of the following elements: | 5 of the following elements: |
| 6 | 6 |
| 7 <fuzzer-collapse-function-sk> | 7 <fuzzer-collapse-function-sk> |
| 8 | 8 |
| 9 To use this file import it: | 9 To use this file import it: |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 expand: String, which should be "true" if the gui should start expanded | 24 expand: String, which should be "true" if the gui should start expanded |
| 25 Methods: | 25 Methods: |
| 26 setFunc(func) - Programmatically set the FunctionDetails object. | 26 setFunc(func) - Programmatically set the FunctionDetails object. |
| 27 toggleLineNumbers() - Programmtically expand/collapse the line number detail
s. | 27 toggleLineNumbers() - Programmtically expand/collapse the line number detail
s. |
| 28 | 28 |
| 29 Events: | 29 Events: |
| 30 None. | 30 None. |
| 31 --> | 31 --> |
| 32 <link rel="import" href="/res/imp/bower_components/iron-flex-layout/iron-flex-la
yout.html"> | 32 <link rel="import" href="/res/imp/bower_components/iron-flex-layout/iron-flex-la
yout.html"> |
| 33 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h
tml"> | 33 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h
tml"> |
| 34 <link rel="import" href="fuzzer-collapse-details-sk.html"> | 34 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> |
| 35 <dom-module id="fuzzer-collapse-function-sk"> | 35 <dom-module id="fuzzer-collapse-function-sk"> |
| 36 <template> | 36 <template> |
| 37 <style> | 37 <style> |
| 38 #wrapper { | 38 #wrapper { |
| 39 padding: 20px; | 39 padding: 20px; |
| 40 border-radius: 10px; | 40 border-radius: 10px; |
| 41 background-color: #E5E5E5; | 41 background-color: #E5E5E5; |
| 42 color: #000000; | 42 color: #000000; |
| 43 @apply(--layout-vertical); | 43 @apply(--layout-vertical); |
| 44 @apply(--layout-wrap); | |
| 45 @apply(--layout-start); | 44 @apply(--layout-start); |
| 46 } | 45 } |
| 47 | 46 |
| 48 #wrapper div { | 47 #wrapper div { |
| 49 margin-top: 0px; | 48 margin-top: 0px; |
| 50 } | 49 } |
| 51 | 50 |
| 52 #indicator { | 51 #indicator { |
| 53 cursor: pointer; | 52 cursor: pointer; |
| 54 margin: 1px 6px 1px 1px; | 53 margin: 1px 6px 1px 1px; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 return func.binaryCount + func.apiCount; | 117 return func.binaryCount + func.apiCount; |
| 119 }, | 118 }, |
| 120 | 119 |
| 121 toggleLineNumbers: function() { | 120 toggleLineNumbers: function() { |
| 122 this.$.lineNumbers.toggle(); | 121 this.$.lineNumbers.toggle(); |
| 123 this.$.indicator.toggleClass("toggled"); | 122 this.$.indicator.toggleClass("toggled"); |
| 124 } | 123 } |
| 125 }); | 124 }); |
| 126 </script> | 125 </script> |
| 127 </dom-module> | 126 </dom-module> |
| OLD | NEW |