PHP Classes

File: toastui/src/js/ui/template/submenu/flip.js

Recommend this page to a friend!
  Classes of Mark de Leon   PHP Document Scanner using SANE or eSCL AirPrint   toastui/src/js/ui/template/submenu/flip.js   Download  
File: toastui/src/js/ui/template/submenu/flip.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Document Scanner using SANE or eSCL AirPrint
Web interface to scan printed documents
Author: By
Last change:
Date: 4 years ago
Size: 1,974 bytes
 

Contents

Class file image Download
/** * @param {Locale} locale - Translate text * @param {Object} normal - iconStyle * @param {Object} active - iconStyle * @returns {string} */ export default ({locale, iconStyle: {normal, active}}) => (` <ul id="tie-flip-button" class="tui-image-editor-submenu-item"> <li> <div class="tui-image-editor-button flipX"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-flip-x" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-flip-x" class="active"/> </svg> </div> <label> ${locale.localize('Flip X')} </label> </div> <div class="tui-image-editor-button flipY"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-flip-y" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-flip-y" class="active"/> </svg> </div> <label> ${locale.localize('Flip Y')} </label> </div> </li> <li class="tui-image-editor-partition"> <div></div> </li> <li> <div class="tui-image-editor-button resetFlip"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-flip-reset" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-flip-reset" class="active"/> </svg> </div> <label> ${locale.localize('Reset')} </label> </div> </li> </ul> `);