This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>net.sf.ucanaccess</groupId> | |
| <artifactId>ucanaccess</artifactId> | |
| <version>4.0.3</version> | |
| </dependency> | |
| https://stackoverflow.com/questions/16626301/jdbc-driver-ms-access-connection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Using transform and top | |
| .valign { | |
| position: relative; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| /* vendor prefixes omitted due to brevity */ | |
| } | |
| 2. Using inline-block (pseudo-)elements | |
| .parent { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const IFRAME_READY_MESSAGE = "IFRAME_READY"; | |
| export default { | |
| id: null, | |
| $el: null, | |
| iframeBaseUrl: null, | |
| targetDocument: document, | |
| style:{'position':'fixed', 'top': '0', 'right':'20px', 'width':'300px', 'height':'400px'}, | |
| /*** | |
| * {id: '', url: '', iframeBaseUrl:'' , style:{}, targetDocument: null} | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div style='position: relative;'> | |
| <slot></slot> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| name: 'resize-observer-div', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| new Promise(function(resolve, reject){ | |
| setTimeout(function(){ | |
| console.log("resolve", 1); | |
| resolve("result"); | |
| }, 2000); | |
| }).then(function(v){ | |
| return new Promise(function(resolve, reject) { | |
| console.log("then", 2); | |
| setTimeout(function(){ | |
| console.log("then", 3); |