Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pagination): add pagination component #302

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

MaximBalaganskiy
Copy link
Contributor

uses typed plugin as agreed in #299
fixes #300

@@ -0,0 +1,83 @@
import { customElement, useView, PLATFORM, bindingMode } from 'aurelia-framework';
import { bindable } from 'aurelia-typed-observable-plugin';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EisenbergEffect is it ok to go ahead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to resolve the design issue with au2 and then bake the same design into au1 core.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bigopon What needs to be done to progress this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to settle on how we would want to API to be for type declaration shortcut:

@bindable({ mode: 'toggle' })
@bindable({ type: 'bool' })
@bindable({ coerce: 'bool' })
@bindable({ set: 'bool' })

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for now, we can settle first with set api supporting only a setter function, as it's already in v2. For more high level api like type/mode/coerce, we can enhance it later. Does that sound good to start adding it to v1?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EisenbergEffect any comment on the above ☝️

# Conflicts:
#	app/package.json
#	app/src/components.html
#	app/webpack.config.js
#	lerna.json
#	packages/components/package.json
#	packages/components/src/index.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider pagination component
3 participants