This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '~office-ui-fabric-react/dist/sass/References.scss'; | |
.myWebPartClass { | |
//Key is using this format.... and reference this page for more details | |
//https://www.w3.org/TR/CSS21/selector.html%23id-selectors#type-selectors | |
//Basically, this will get any child elements of className={ styles.listViewTransparent } | |
//Then find only items where the property data-automationid = DetailsRowFields. | |
//You can use this syntax and others to filter on any element property, wildcard etc.... | |
.listViewTransparent *[data-automationid="DetailsRowFields"] { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import TweetsFeedWebPart from './tweetsFeed/TweetsFeedWebPart'; | |
export default class AboutInfo extends React.Component<IAboutInfoProps, IAboutInfoState> { | |
//.. stuff deleted | |
let twitterPane = <TweetsFeedWebPart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//RUN TIME DETAILS: | |
// useProjectWeb = https://mytenant.sharepoint.com/sites/Templates/tmt/ | |
// useTrackMyTimeWeb = https://mytenant.sharepoint.com/sites/Templates/tmt/ | |
//RESULT: | |
//When I run on the same site as the 2 webs listed above, all works well with all the calls inBatch(batch) | |
// When I run on another subsite and am trying to call the original web: | |
// WORKS FINE: sp.web.currentUser.inBatch(batch) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([], function() { | |
return { | |
"PropertyPaneAbout": "Enter PropertyPaneAbout in strings", | |
"PropertyPaneDescription": "Description", | |
"BasicGroupName": "Group Name", | |
"DescriptionFieldLabel": "Description Field", | |
// 0 - Context | |
"DefaultProjectListTitle": "Projects", // DO NOT CHANGE THIS IN DIFFERENT LANGUAGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NOTE FOR FUTURE ReWriting: | |
// Check this post and see if using arrow function will work. | |
// https://stackoverflow.com/questions/42576198/get-object-data-and-target-element-from-onclick-event-in-react-js?fbclid=IwAR3a8oYBmVarTQy3lLfQFA-xZ8sv_0pSDd9Mag_4m3fWF9rGZuRblKK3dyg | |
public constructor(props:IPivotTilesProps){ | |
super(props); | |
this.state = { | |
// .... stuff deleted // |