0.0.1-alpha.7 • Published 3 months ago
pq-components v0.0.1-alpha.7
Install
For install pq-components run:
npm i pq-components
Example
In my-module.ts file
...
import { PQButtonComponent } from 'pq-components'
import { MyComponent } from 'my-component-path'
@NgModule({
imports: [
...
PQButtonComponent,
],
declarations: [MyComponent],
})
export class MyModule {}
In my-component.html file
<h1>My PQ BUTTON</h1>
<pq-button [view]="ViewButton.NORMAL" [normal]="{
type: 'center',
fill: 'solid',
callback: myArrowFunction,
color: 'primary',
size: 'large',
expand: 'block',
text: 'My buttom'
}">
</pq-button>
In file my-component.ts
...
import { ViewButton } from 'pq-components'
@Component({
selector: 'my-component',
templateUrl: './my-component.html',
styleUrls: ['./my-component.scss'],
})
export class MyComponent {
...
public ViewButton = ViewButton
...
myArrowFunction = () => {
console.log('PQ-COMPONENTS')
}
}
0.0.1-alpha.7
3 months ago
0.0.1-alpha.6.1f
6 months ago
0.0.1-alpha.6
7 months ago
0.0.1-alpha.5f
7 months ago
0.0.1-alpha.6f
7 months ago
0.0.1-alpha.4
7 months ago
0.0.1-alpha.5
7 months ago
0.0.1-alpha.3f
8 months ago
0.0.1-alpha.3
8 months ago
0.0.1-alpha.2
9 months ago
0.0.1-alpha.1
11 months ago
0.0.1-alpha
11 months ago