Hi,
i'm trying to develop my own UI components to do a little framework.
In this way, I'm trying to develop an "abstract" plugin that I'll use later in order to add some specific stuff on each sub-plugin.
Abstract :
- (function($) {
-
- $.widget("ui.myAbstract", {
- _create: function() {
- this.element.data("status", "C")
- }
- });
- }) (jQuery);
Now, a sub-plugin :
- (function($) {
- $.widget("ui.building", $.ui.myAbstract, {
- _create() {
- // How to call myAbstract._create() here?
- // Do some more stuff here
- }
- }
- });
- }) (jQuery);
What I'm trying to do is possible or not?
I don't know how I can call the base function in addition of the plugin base one.
Thanks