discourse-user-card-directory/javascripts/discourse/components/user-card-static.js

19 lines
511 B
JavaScript
Raw Permalink Normal View History

2020-02-28 07:01:48 -08:00
import UserCardContents from "discourse/components/user-card-contents";
import { action } from "@ember/object";
2020-02-28 07:01:48 -08:00
export default UserCardContents.extend({
layoutName: "components/user-card-contents",
elementId: null,
// Overriding functions which cause the user card to show/hide based on mouse/keyboard events:
cleanUp() {},
didInsertElement() {},
willDestroyElement() {},
keyUp() {},
// need to override this to work with the loading slider
@action
handleShowUser() {
return;
},
2020-02-28 07:01:48 -08:00
});