Coder Social home page Coder Social logo

Comments (7)

charlespockert avatar charlespockert commented on June 15, 2024

Sounds good, we could provide some defaults for all widgets that are in the core framework and another for all those in the pro framework to make it easier for people that just wanted access to everything

from aurelia-kendoui-bridge.

JeroenVinke avatar JeroenVinke commented on June 15, 2024

👍 good one

@adriatic can you setup the organizational structure in github so that we can assign people to issues if needed? I also wonder who needs to agree with changes like this before we can start working on it

from aurelia-kendoui-bridge.

adriatic avatar adriatic commented on June 15, 2024

On setup the organizational structure issue:

It's all in place actually - just not enabled.

from aurelia-kendoui-bridge.

charlespockert avatar charlespockert commented on June 15, 2024

FYI, I thought this was a no brainer so I've added it in this commit

c63949a

It expects a list of control names - e.g. ['button', 'grid', 'autocomplete'] etc.

I'll leave this open for now as I want to add sensible defaults (e.g. core/pro defaults etc)

The reason we need this anyway is that Aurelia attempts to load any resources that are globalized. This means it will throw an error on startup if it can't find the Kendo files for a particular plugin.

from aurelia-kendoui-bridge.

charlespockert avatar charlespockert commented on June 15, 2024

Also thinking it would be nice if the user could configure in a more strongly typed way, e.g.

.plugin('aurelia-kendo', (plugins) => {     plugins.kendoGrid();
plugins.kendoButton():
});

Etc

from aurelia-kendoui-bridge.

adriatic avatar adriatic commented on June 15, 2024

On this comment

I'll leave this open for now as I want to add sensible defaults (e.g. core/pro defaults etc)

I think that the same rules that apply to Aurelia config callback apply here as well: having an "empty use" statement like

aurelia.use

may not default to the usual:

aurelia.use
      .standardConfiguration()
      .developmentLogging()
      });

In any way, choosing a good default is the expected courtesy to the users

from aurelia-kendoui-bridge.

JeroenVinke avatar JeroenVinke commented on June 15, 2024

@charlespockert already made an awesome plugin callback here 😄

from aurelia-kendoui-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.