Comments (3)
Not really sure what you mean... could you provide some code? Also, this is right now an iPhone only module, I have not tested it on the iPad, and I'm afraid to see how it would look like :)
On a later version I will include support for iPad.
from tismsview.
Example code:
var messageActionDialog = Ti.UI.createOptionDialog({
options: ['Copy', 'Cancel'],
cancel: 1
});
textArea.addEventListener('messageClicked', function(e) {
if ( e.text ) {
messageActionDialog.show({
view: e.source
});
}
});
The event object I get when clicking a message now is:
{
source = "[object TiPedroSMSView]";
text = "test\n";
type = messageClicked;
where = message;
}
What I need is a reference to the message view, so I can put it into the view
property of the .show()
method of the OptionDialog
. OptionDialog needs this property to know where to place the popover on iPad.
The source
property should point to the message view ([object TiPedroSMSMessageView]
?) and not the whole view.
The event object should also be documented.
Also, this is right now an iPhone only module, I have not tested it on the iPad, and I'm afraid to see how it would look like :)
In portrait on iPad it works perfectly, but in landscape the textArea toolbar disappears.
from tismsview.
Not sure if this is possible, will look into it next weekend.
from tismsview.
Related Issues (20)
- Message bubbles are not showing 2x HOT 1
- addLabel in recent version? HOT 2
- Installing on iOS device produces error HOT 6
- App is crashing
- Crash with iOS 5 SDK HOT 4
- Can expandable textarea be used by itself (no bubble chat)? HOT 21
- Object as the message. HOT 2
- Exclamation button to resend HOT 2
- Standalone version of expandable TextArea HOT 2
- Bubble width
- Send button not variable in width
- when you load messages that go over the height of the page, it doesn't scroll to the bottom HOT 1
- scrollbar doesn't appear in iPad HOT 2
- scrolling randomly not working HOT 3
- addLabel custom HOT 1
- Save and retrieve from database
- how to add a image to the textArea.recieveMessage() HOT 2
- How to change conversation layout? HOT 3
- Latest builds - Breaks on require()
- assets property not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tismsview.