mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
Render
This commit is contained in:
14
ionic/util/render/element.js
Normal file
14
ionic/util/render/element.js
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
class RenderedElement {
|
||||
constructor(element) {
|
||||
this.element = element;
|
||||
}
|
||||
_notImplemented(fnName) {
|
||||
console.error("RenderedElement." + fnName + "addClass is not implemented. Use a concrete class like DomRenderedElement instead.");
|
||||
}
|
||||
addClass(className) { this._notImplemented('addClass'); }
|
||||
removeClass(className) { this._notImplemented('removeClass'); }
|
||||
addClasses(className) { this._notImplemented('addClasses'); }
|
||||
removeClasses(className) { this._notImplemented('removeClasses'); }
|
||||
}
|
||||
*/
|
Reference in New Issue
Block a user