Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • adi-ia/enrollment-profile
  • SABERG3/enrollment-profile
2 results
Show changes
Commits on Source (7)
# myuw-profile versions # myuw-profile versions
## 1.3.2
### Fixed
* Check for valid references before messing with DOM elements/variables
## 1.3.0 ## 1.3.0
### Added ### Added
......
...@@ -80,3 +80,7 @@ document.addEventListener('WebComponentsReady', function() { ...@@ -80,3 +80,7 @@ document.addEventListener('WebComponentsReady', function() {
- `--myuw-menu-color`: The text color of links/buttons in the profile menu - `--myuw-menu-color`: The text color of links/buttons in the profile menu
For more information about CSS variables and how they work with MyUW Web Components, [reference the styles component](https://github.com/myuw-web-components/myuw-app-styles "reference the styles component") For more information about CSS variables and how they work with MyUW Web Components, [reference the styles component](https://github.com/myuw-web-components/myuw-app-styles "reference the styles component")
Cross-browser testing provided by:<br/>
<a href="https://www.browserstack.com/"><img width="160" src="https://myuw-web-components.github.io/img/Browserstack-logo.svg" alt="BrowserStack"/></a>
This diff is collapsed.
{ {
"name": "@myuw-web-components/myuw-profile", "name": "enrollment-profile",
"version": "1.3.1", "version": "1.3.1",
"description": "Web component that provides an avatar button and profile menu", "description": "Web component that provides an avatar button and profile menu",
"module": "dist/myuw-profile.min.mjs", "module": "dist/myuw-profile.min.mjs",
...@@ -15,14 +15,10 @@ ...@@ -15,14 +15,10 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/myuw-web-components/myuw-profile.git" "url": "git+https://git.doit.wisc.edu/adi-ia/enrollment-profile.git"
}, },
"author": "", "author": "",
"license": "Apache-2.0", "license": "Apache-2.0",
"bugs": {
"url": "https://github.com/myuw-web-components/myuw-profile/issues"
},
"homepage": "https://github.com/myuw-web-components/myuw-profile#readme",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.1.2", "@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0", "@babel/preset-env": "^7.1.0",
......
...@@ -19,12 +19,14 @@ class MyUWProfile extends HTMLElement { ...@@ -19,12 +19,14 @@ class MyUWProfile extends HTMLElement {
]; ];
} }
attributeChangedCallback(name, oldValue, newValue){ attributeChangedCallback(name, oldValue, newValue) {
if (typeof this.$circle !== 'undefined') {
// Update the attribute internally // Update the attribute internally
this[name] = newValue; this[name] = newValue;
// Update the component with new att value // Update the component with new att value
this.updateAttribute(name); this.updateAttribute(name);
}
} }
connectedCallback(){ connectedCallback(){
......