mirror of
				https://github.com/em-squared/5e-drs.git
				synced 2025-10-31 05:24:20 +00:00 
			
		
		
		
	tooltips pour les états préjudiciables
This commit is contained in:
		
							parent
							
								
									7c23239138
								
							
						
					
					
						commit
						b508862c9b
					
				
					 8 changed files with 156 additions and 4 deletions
				
			
		|  | @ -23,6 +23,7 @@ | |||
| <script> | ||||
| import {displayItemMeta} from '@theme/util/magicItemHelpers' | ||||
| import MarkdownIt from 'markdown-it' | ||||
| import { handleTooltips } from '@theme/util' | ||||
| 
 | ||||
| export default { | ||||
|   name: 'MagicItem', | ||||
|  | @ -39,6 +40,17 @@ export default { | |||
|     displayItemMeta () { | ||||
|       return displayItemMeta(this.magicItem.frontmatter) | ||||
|     } | ||||
|   }, | ||||
| 
 | ||||
|   mounted () { | ||||
|     setTimeout(function () { | ||||
|       handleTooltips() | ||||
|     }, 100); | ||||
|     this.$router.afterEach(() => { | ||||
|       setTimeout(function () { | ||||
|         handleTooltips() | ||||
|       }, 100) | ||||
|     }) | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|  |  | |||
|  | @ -168,6 +168,8 @@ import { | |||
|   displayMonsterTypeSizeAlignment | ||||
| } from '@theme/util/monsterHelpers' | ||||
| 
 | ||||
| import { handleTooltips } from '@theme/util' | ||||
| 
 | ||||
| import {stats} from '../../data/stats.js' | ||||
| import {armorTypes} from '../../data/armorTypes.js' | ||||
| import MarkdownIt from 'markdown-it' | ||||
|  | @ -508,6 +510,14 @@ export default { | |||
| 
 | ||||
|   mounted () { | ||||
|     //console.log(this.$page) | ||||
|     setTimeout(function () { | ||||
|       handleTooltips() | ||||
|     }, 100); | ||||
|     this.$router.afterEach(() => { | ||||
|       setTimeout(function () { | ||||
|         handleTooltips() | ||||
|       }, 100) | ||||
|     }) | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|  |  | |||
|  | @ -7,9 +7,20 @@ | |||
| </template> | ||||
| 
 | ||||
| <script> | ||||
| import { handleTooltips } from '@theme/util' | ||||
| export default { | ||||
|   name: 'Page', | ||||
|   components: { } | ||||
|   components: { }, | ||||
|   mounted () { | ||||
|     setTimeout(function () { | ||||
|       handleTooltips() | ||||
|     }, 100); | ||||
|     this.$router.afterEach(() => { | ||||
|       setTimeout(function () { | ||||
|         handleTooltips() | ||||
|       }, 100) | ||||
|     }) | ||||
|   } | ||||
| } | ||||
| </script> | ||||
| 
 | ||||
|  |  | |||
|  | @ -41,6 +41,7 @@ | |||
| <script> | ||||
| import { displaySchoolLevel } from '@theme/util/spellHelpers' | ||||
| import MarkdownIt from 'markdown-it' | ||||
| import { handleTooltips } from '@theme/util' | ||||
| 
 | ||||
| export default { | ||||
|   name: 'Spell', | ||||
|  | @ -61,6 +62,14 @@ export default { | |||
| 
 | ||||
|   mounted () { | ||||
|     // console.log(this.spell) | ||||
|     setTimeout(function () { | ||||
|       handleTooltips() | ||||
|     }, 100); | ||||
|     this.$router.afterEach(() => { | ||||
|       setTimeout(function () { | ||||
|         handleTooltips() | ||||
|       }, 100) | ||||
|     }) | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Maxime Moraine
						Maxime Moraine