module LuckyHXML::Share
Overview
Example:
view style: "Button" do
share_behavior trigger: "press", url: "https://www.instawork.com", message: "Check out this website!"
text "Share link", style: "Button__Label"
end
Output:
<view style="Button">
<behavior
xmlns:share="https://instawork.com/hyperview-share"
action="share"
trigger="press"
share:url="https://www.instawork.com"
share:message="Check out this website!"
/>
<text style="Button__Label">Share link</text>
</view>
Direct including types
Defined in:
lucky_hxml/share.crInstance Method Summary
-
#share_behavior(dialog_title : String | Nil = nil, subject : String | Nil = nil, message : String | Nil = nil, url : String | Nil = nil, title : String | Nil = nil, **opts, &) : Nil
Represents share behavior
-
#share_behavior(dialog_title : String | Nil = nil, subject : String | Nil = nil, message : String | Nil = nil, url : String | Nil = nil, title : String | Nil = nil, **opts) : Nil
Represents share behavior
-
#share_namespace : Nil
Defines Hyperview Share XML Namespace attribute