We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
//app.module.ts
import { EmojiPickerModule } from '@ionic-tools/emoji-picker'; imports: [ IonicModule.forRoot(MyApp), EmojiPickerModule.forRoot(), ],
The text was updated successfully, but these errors were encountered:
can you setup a small project with this problem i cant reproduce it
Sorry, something went wrong.
according to your demo, you imported import { CaretEvent, EmojiEvent } from "../../../src";
import { CaretEvent, EmojiEvent } from "../../../src";
declared it as private _lastCaretEvent: CaretEvent;
private _lastCaretEvent: CaretEvent;
reference it as
handleSelection(event: EmojiEvent) { this.content = this.content.slice(0, this._lastCaretEvent.caretOffset) + event.char + this.content.slice(this._lastCaretEvent.caretOffset); this.eventMock = JSON.stringify(event); } handleCurrentCaret(event: CaretEvent) { this._lastCaretEvent = event; this.eventPosMock = `{ caretOffset : ${event.caretOffset}, caretRange: Range{...}, textContent: ${event.textContent} }`; }
CaretEvent, EmojiEvent has no provider in app.module.ts
fe6ef53
No branches or pull requests
//app.module.ts
The text was updated successfully, but these errors were encountered: