zdpdsy opened a new issue #3299:
URL: https://github.com/apache/incubator-weex/issues/3299
测试代码如下:
```
<template>
<div>
<richtext @itemclick="listener"
style="color:red;text-overflow:ellipsis">
<a pseudo-ref="21"></a>
<a pseudo-ref="22"></a>
<a pseudo-ref="23"></a>
</richtext>
</div>
</template>
<script>
module.exports = {
methods: {
listener: function (foo) {
var modal = weex.requireModule('modal');
modal.toast({
message: 'My pseudoRef is '+foo.pseudoRef,
duration: 3
});
}
}
}
</script>
<style>
.logo{width: 50;height: 50;}
.title{font-size:42; color: #FF5400;}
</style>
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]