Add explanation of data-prompt-class et al.
I think I left these blank because I felt they should be obvious. But I'd rather have it explicit.
This commit is contained in:
		
							parent
							
								
									139998172f
								
							
						
					
					
						commit
						5356b19858
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -192,16 +192,19 @@ function init_button_with_confirm() | ||||||
|     Optional: |     Optional: | ||||||
|         data-prompt: Text that appears next to the confirm button. Default is |         data-prompt: Text that appears next to the confirm button. Default is | ||||||
|             "Are you sure?". |             "Are you sure?". | ||||||
|         data-prompt-class | 
 | ||||||
|  |         data-prompt-class: CSS class for the prompt span. | ||||||
| 
 | 
 | ||||||
|         data-confirm: Text inside the confirm button. Default is to inherit the |         data-confirm: Text inside the confirm button. Default is to inherit the | ||||||
|             original button's text. |             original button's text. | ||||||
|  | 
 | ||||||
|         data-confirm-class: CSS class for the confirm button. Default is to |         data-confirm-class: CSS class for the confirm button. Default is to | ||||||
|             inheret all classes of the original button, except for |             inheret all classes of the original button, except for | ||||||
|             "button_with_confirm" of course. |             "button_with_confirm" of course. | ||||||
| 
 | 
 | ||||||
|         data-cancel: Text inside the cancel button. Default is "Cancel". |         data-cancel: Text inside the cancel button. Default is "Cancel". | ||||||
|         data-cancel-class | 
 | ||||||
|  |         data-cancel-class: CSS class for the cancel button. | ||||||
| 
 | 
 | ||||||
|         data-holder-class: CSS class for the new span that holds the menu. |         data-holder-class: CSS class for the new span that holds the menu. | ||||||
|     */ |     */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue