File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/components/mgt-person Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ export class MgtPerson extends MgtTemplatedComponent {
581581 }
582582
583583 private handleMouseClick ( e : MouseEvent ) {
584- if ( this . personCardInteraction ! == PersonCardInteraction . click ) {
584+ if ( this . personCardInteraction = == PersonCardInteraction . click ) {
585585 this . showPersonCard ( ) ;
586586 }
587587 }
Original file line number Diff line number Diff line change @@ -27,3 +27,11 @@ export const person = () => html`
2727export const personPhotoOnly = ( ) => html `
2828 < mgt-person person-query ="me "> </ mgt-person >
2929` ;
30+
31+ export const personCardHover = ( ) => html `
32+ < mgt-person person-query ="me " person-card ="hover "> </ mgt-person >
33+ ` ;
34+
35+ export const personCardClick = ( ) => html `
36+ < mgt-person person-query ="me " person-card ="click "> </ mgt-person >
37+ ` ;
You can’t perform that action at this time.
0 commit comments