wish-print
v0.0.7
Published
安装依赖后在需要的模块中引入import {WishPrintModule} from 'wish-util/publish' 在需要使用的组件ts文件中引入类型
Downloads
1
Readme
wish-print 使用
安装依赖后在需要的模块中引入import {WishPrintModule} from 'wish-util/publish' 在需要使用的组件ts文件中引入类型
import { Ibutton, TemplateOfDatamx_For_, edittype } from 'wish-util/publish; 随后界面上便可以使用
导航栏:
<wish-print [printname]='' [navButtons]="navButtons" (clickNavButton)="clickNavButton($event)"> 可传入 标题名:printname 按钮列表:navButtons:Ibutton[] 传回: 点击按钮事件,clickNavButton,传回按钮的方法名,类型为字符串。
信息卡片:<wish-print-card [cardList]="cardList">
传入: 信息列表:cardList:ICardMx[],
项目要素展示/编辑:<wish-print-detail [mxList]="itemList" (returnMxList)=''>
传入: 项目明细列表:mxList:TemplateOfDatamx_For_[] 传回:returnMxList:mxList:TemplateOfDatamx_For_[]
Importdoc
This project was generated with Angular CLI version 12.2.18.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.