<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://air.imag.fr/index.php?action=history&amp;feed=atom&amp;title=ECOM_1F0_2018-19_BTB_Angular_Material</id>
	<title>ECOM 1F0 2018-19 BTB Angular Material - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://air.imag.fr/index.php?action=history&amp;feed=atom&amp;title=ECOM_1F0_2018-19_BTB_Angular_Material"/>
	<link rel="alternate" type="text/html" href="https://air.imag.fr/index.php?title=ECOM_1F0_2018-19_BTB_Angular_Material&amp;action=history"/>
	<updated>2026-06-11T19:43:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://air.imag.fr/index.php?title=ECOM_1F0_2018-19_BTB_Angular_Material&amp;diff=42994&amp;oldid=prev</id>
		<title>Enzo.Molion: Created page</title>
		<link rel="alternate" type="text/html" href="https://air.imag.fr/index.php?title=ECOM_1F0_2018-19_BTB_Angular_Material&amp;diff=42994&amp;oldid=prev"/>
		<updated>2018-11-06T15:57:27Z</updated>

		<summary type="html">&lt;p&gt;Created page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Présentation =&lt;br /&gt;
Angular Material est une suite de &amp;#039;&amp;#039;components&amp;#039;&amp;#039; Angular facilitant l&amp;#039;implémentation d&amp;#039;application Angular respectant le [https://material.io/ Material Design]. Ce standard étant propulsé par Google au même titre que Angular, l&amp;#039;intégration de Angular Material est largement facilitée. &lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
La page [https://material.angular.io/guide/getting-started Getting started] de la documentation est très bien faite. &lt;br /&gt;
&lt;br /&gt;
Utilisant npm, nous avons procédé comme suit : &lt;br /&gt;
 cd &amp;lt;dossier du projet&amp;gt;&lt;br /&gt;
 npm install --save @angular/material @angular/cdk @angular/animations&lt;br /&gt;
 &lt;br /&gt;
Ajout dans app.module.ts de &lt;br /&gt;
 import {BrowserAnimationsModule} from &amp;#039;@angular/platform-browser/animations&amp;#039;;&lt;br /&gt;
 @NgModule({&lt;br /&gt;
   ...&lt;br /&gt;
   imports: [BrowserAnimationsModule],&lt;br /&gt;
   ...&lt;br /&gt;
 })&lt;br /&gt;
&lt;br /&gt;
Création d&amp;#039;un module MaterialModule :&lt;br /&gt;
 import {MatButtonModule, MatCheckboxModule, //every used MatXXXModule} from &amp;#039;@angular/material&amp;#039;;&lt;br /&gt;
 @NgModule({&lt;br /&gt;
   imports: [MatButtonModule, MatCheckboxModule, //every used MatXXXModule],&lt;br /&gt;
   exports: [MatButtonModule, MatCheckboxModule, //every used MatXXXModule],&lt;br /&gt;
 })&lt;br /&gt;
 export class MaterialModule { }&lt;br /&gt;
&lt;br /&gt;
Import du MaterialModule dans app.module.ts&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 import { MaterialModule } from &amp;#039;./material&amp;#039;;&lt;br /&gt;
 @NgModule({&lt;br /&gt;
   ...&lt;br /&gt;
   imports: [&lt;br /&gt;
     ...&lt;br /&gt;
     MaterialModule&lt;br /&gt;
     ...&lt;br /&gt;
   ],&lt;br /&gt;
   ...&lt;br /&gt;
 })&lt;br /&gt;
 export class AppModule { }&lt;br /&gt;
&lt;br /&gt;
Import d&amp;#039;un thème Material Angular existan, dans styles.css : &lt;br /&gt;
 @import &amp;#039;~@angular/material/prebuilt-themes/indigo-pink.css&amp;#039;;&lt;br /&gt;
 &lt;br /&gt;
Installation hammerjs&lt;br /&gt;
 npm install --save hammerjs&lt;br /&gt;
&lt;br /&gt;
Ajout de hammerjs à src/main.ts : &lt;br /&gt;
 import &amp;#039;hammerjs&amp;#039;;&lt;/div&gt;</summary>
		<author><name>Enzo.Molion</name></author>
	</entry>
</feed>